Lines Matching refs:prf_key
217 aes_int_key prf_key; /* Expanded AES key for PDF */ member
220 static void pdf_init(pdf_ctx *pc, aes_int_key prf_key) in pdf_init() argument
224 kdf(buf, prf_key, 0, UMAC_KEY_LEN); in pdf_init()
225 aes_key_setup(buf, pc->prf_key); in pdf_init()
229 aes_encryption(pc->nonce, pc->cache, pc->prf_key); in pdf_init()
261 aes_encryption(pc->nonce, pc->cache, pc->prf_key); in pdf_gen_xor()
598 static void nh_init(nh_ctx *hc, aes_int_key prf_key) in nh_init() argument
601 kdf(hc->nh_key, prf_key, 1, sizeof(hc->nh_key)); in nh_init()
954 static void uhash_init(uhash_ctx_t ahc, aes_int_key prf_key) in uhash_init() argument
963 nh_init(&ahc->hash, prf_key); in uhash_init()
966 kdf(buf, prf_key, 2, sizeof(buf)); /* Fill buffer with index 1 key */ in uhash_init()
980 kdf(buf, prf_key, 3, sizeof(buf)); /* Fill buffer with index 2 key */ in uhash_init()
991 kdf(ahc->ip_trans, prf_key, 4, STREAMS * sizeof(UINT32)); in uhash_init()
1004 aes_int_key prf_key;
1014 aes_key_setup(key,prf_key);
1015 uhash_init(ctx, prf_key);
1217 aes_int_key prf_key; in umac_new() local
1227 aes_key_setup(key, prf_key); in umac_new()
1228 pdf_init(&ctx->pdf, prf_key); in umac_new()
1229 uhash_init(&ctx->hash, prf_key); in umac_new()