Lines Matching refs:prf_key
220 aes_int_key prf_key; /* Expanded AES key for PDF */ member
223 static void pdf_init(pdf_ctx *pc, aes_int_key prf_key) in pdf_init() argument
227 kdf(buf, prf_key, 0, UMAC_KEY_LEN); in pdf_init()
228 aes_key_setup(buf, pc->prf_key); in pdf_init()
232 aes_encryption(pc->nonce, pc->cache, pc->prf_key); in pdf_init()
266 aes_encryption(pc->nonce, pc->cache, pc->prf_key); in pdf_gen_xor()
603 static void nh_init(nh_ctx *hc, aes_int_key prf_key) in nh_init() argument
606 kdf(hc->nh_key, prf_key, 1, sizeof(hc->nh_key)); in nh_init()
959 static void uhash_init(uhash_ctx_t ahc, aes_int_key prf_key) in uhash_init() argument
968 nh_init(&ahc->hash, prf_key); in uhash_init()
971 kdf(buf, prf_key, 2, sizeof(buf)); /* Fill buffer with index 1 key */ in uhash_init()
985 kdf(buf, prf_key, 3, sizeof(buf)); /* Fill buffer with index 2 key */ in uhash_init()
996 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()
1236 explicit_bzero(prf_key, sizeof(prf_key)); in umac_new()