Home
last modified time | relevance | path

Searched refs:sa_command_0 (Results 1 – 3 of 3) sorted by relevance

/drivers/crypto/amcc/
Dcrypto4xx_alg.c35 sa->sa_command_0.w = 0; in set_dynamic_sa_command_0()
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()
[all …]
Dcrypto4xx_sa.h85 union sa_command_0 { union
171 union sa_command_0 sa_command_0; member
Dcrypto4xx_core.c494 if (sa->sa_command_0.bf.hash_alg == SA_HASH_ALG_SHA1) { in crypto4xx_copy_digest_to_dst()
528 if (pd_uinfo->sa_va->sa_command_0.bf.scatter) { in crypto4xx_cipher_done()
537 if (pd_uinfo->sa_va->sa_command_0.bf.save_iv == SA_SAVE_IV) { in crypto4xx_cipher_done()
581 if (pd_uinfo->sa_va->sa_command_0.bf.scatter) { in crypto4xx_aead_done()
590 if (pd_uinfo->sa_va->sa_command_0.bf.dir == DIR_OUTBOUND) { in crypto4xx_aead_done()
836 sa->sa_command_0.bf.gather = 1; in crypto4xx_build_pd()
864 sa->sa_command_0.bf.gather = 0; in crypto4xx_build_pd()
876 sa->sa_command_0.bf.scatter = 0; in crypto4xx_build_pd()
887 sa->sa_command_0.bf.scatter = 1; in crypto4xx_build_pd()