Lines Matching refs:bf
36 sa->sa_command_0.bf.save_hash_state = save_h; in set_dynamic_sa_command_0()
37 sa->sa_command_0.bf.save_iv = save_iv; in set_dynamic_sa_command_0()
38 sa->sa_command_0.bf.load_hash_state = ld_h; in set_dynamic_sa_command_0()
39 sa->sa_command_0.bf.load_iv = ld_iv; in set_dynamic_sa_command_0()
40 sa->sa_command_0.bf.hdr_proc = hdr_proc; in set_dynamic_sa_command_0()
41 sa->sa_command_0.bf.hash_alg = h; in set_dynamic_sa_command_0()
42 sa->sa_command_0.bf.cipher_alg = c; in set_dynamic_sa_command_0()
43 sa->sa_command_0.bf.pad_type = pad_type & 3; in set_dynamic_sa_command_0()
44 sa->sa_command_0.bf.extend_pad = pad_type >> 2; in set_dynamic_sa_command_0()
45 sa->sa_command_0.bf.op_group = op_grp; in set_dynamic_sa_command_0()
46 sa->sa_command_0.bf.opcode = op; in set_dynamic_sa_command_0()
47 sa->sa_command_0.bf.dir = dir; in set_dynamic_sa_command_0()
56 sa->sa_command_1.bf.crypto_mode31 = (cm & 4) >> 2; in set_dynamic_sa_command_1()
57 sa->sa_command_1.bf.crypto_mode9_8 = cm & 3; in set_dynamic_sa_command_1()
58 sa->sa_command_1.bf.feedback_mode = cfb; in set_dynamic_sa_command_1()
59 sa->sa_command_1.bf.sa_rev = 1; in set_dynamic_sa_command_1()
60 sa->sa_command_1.bf.hmac_muting = hmac_mc; in set_dynamic_sa_command_1()
61 sa->sa_command_1.bf.extended_seq_num = esn; in set_dynamic_sa_command_1()
62 sa->sa_command_1.bf.seq_num_mask = sn_mask; in set_dynamic_sa_command_1()
63 sa->sa_command_1.bf.mutable_bit_proc = mute; in set_dynamic_sa_command_1()
64 sa->sa_command_1.bf.copy_pad = cp_pad; in set_dynamic_sa_command_1()
65 sa->sa_command_1.bf.copy_payload = cp_pay; in set_dynamic_sa_command_1()
66 sa->sa_command_1.bf.copy_hdr = cp_hdr; in set_dynamic_sa_command_1()
163 sa->sa_command_1.bf.key_len = keylen >> 3; in crypto4xx_setkey_aes()
167 sa->sa_command_0.bf.dir = DIR_OUTBOUND; in crypto4xx_setkey_aes()
172 sa->sa_command_0.bf.opcode = SA_OPCODE_ENCRYPT; in crypto4xx_setkey_aes()
417 sa->sa_command_1.bf.key_len = keylen >> 3; in crypto4xx_setkey_aes_ccm()
437 sa->sa_command_1.bf.key_len = keylen >> 3; in crypto4xx_setkey_aes_ccm()
458 sa->sa_command_0.bf.digest_len = crypto_aead_authsize(aead) >> 2; in crypto4xx_crypt_aes_ccm()
462 sa->sa_command_1.bf.crypto_mode9_8 = 1; in crypto4xx_crypt_aes_ccm()
564 sa->sa_command_1.bf.key_len = keylen >> 3; in crypto4xx_setkey_aes_gcm()
578 sa->sa_command_0.bf.dir = DIR_OUTBOUND; in crypto4xx_setkey_aes_gcm()
579 sa->sa_command_0.bf.opcode = SA_OPCODE_ENCRYPT_HASH; in crypto4xx_setkey_aes_gcm()
675 sa->sa_command_0.bf.digest_len = ds >> 2; in crypto4xx_hash_init()
676 sa->sa_command_0.bf.load_hash_state = SA_LOAD_HASH_FROM_SA; in crypto4xx_hash_init()