Lines Matching defs:prf_key
232 aes_int_key prf_key; /* Expanded AES key for PDF */
235 static void pdf_init(pdf_ctx *pc, aes_int_key prf_key)
239 kdf(buf, prf_key, 0, UMAC_KEY_LEN);
240 aes_key_setup(buf, pc->prf_key);
244 aes_encryption(pc->nonce, pc->cache, pc->prf_key);
274 aes_encryption(pc->nonce, pc->cache, pc->prf_key);
611 static void nh_init(nh_ctx *hc, aes_int_key prf_key)
614 kdf(hc->nh_key, prf_key, 1, sizeof(hc->nh_key));
967 static void uhash_init(uhash_ctx_t ahc, aes_int_key prf_key)
976 nh_init(&ahc->hash, prf_key);
979 kdf(buf, prf_key, 2, sizeof(buf)); /* Fill buffer with index 1 key */
993 kdf(buf, prf_key, 3, sizeof(buf)); /* Fill buffer with index 2 key */
1004 kdf(ahc->ip_trans, prf_key, 4, STREAMS * sizeof(UINT32));
1017 aes_int_key prf_key;
1027 aes_key_setup(key,prf_key);
1028 uhash_init(ctx, prf_key);
1215 AES_destroy_ctx(&ctx->pdf.prf_key);
1233 aes_int_key prf_key;
1243 aes_key_setup(key,prf_key);
1244 pdf_init(&ctx->pdf, prf_key);
1245 uhash_init(&ctx->hash, prf_key);