Lines Matching refs:prf_key
223 aes_int_key prf_key; /* Expanded AES key for PDF */ member
226 static void pdf_init(pdf_ctx *pc, aes_int_key prf_key) in pdf_init() argument
230 kdf(buf, prf_key, 0, UMAC_KEY_LEN); in pdf_init()
231 aes_key_setup(buf, pc->prf_key); in pdf_init()
235 aes_encryption(pc->nonce, pc->cache, pc->prf_key); in pdf_init()
267 aes_encryption(pc->nonce, pc->cache, pc->prf_key); in pdf_gen_xor()
604 static void nh_init(nh_ctx *hc, aes_int_key prf_key) in nh_init() argument
607 kdf(hc->nh_key, prf_key, 1, sizeof(hc->nh_key)); in nh_init()
960 static void uhash_init(uhash_ctx_t ahc, aes_int_key prf_key) in uhash_init() argument
969 nh_init(&ahc->hash, prf_key); in uhash_init()
972 kdf(buf, prf_key, 2, sizeof(buf)); /* Fill buffer with index 1 key */ in uhash_init()
986 kdf(buf, prf_key, 3, sizeof(buf)); /* Fill buffer with index 2 key */ in uhash_init()
997 kdf(ahc->ip_trans, prf_key, 4, STREAMS * sizeof(UINT32)); in uhash_init()
1010 aes_int_key prf_key;
1020 aes_key_setup(key,prf_key);
1021 uhash_init(ctx, prf_key);
1223 aes_int_key prf_key; in umac_new() local
1233 aes_key_setup(key, prf_key); in umac_new()
1234 pdf_init(&ctx->pdf, prf_key); in umac_new()
1235 uhash_init(&ctx->hash, prf_key); in umac_new()