/kernel/linux/linux-5.10/drivers/crypto/bcm/ |
H A D | spu.c | 26 unsigned int cipher_key_len = 0; in spum_dump_msg_hdr() local 218 cipher_key_len = 8; in spum_dump_msg_hdr() 222 cipher_key_len = 24; in spum_dump_msg_hdr() 228 cipher_key_len = 16; in spum_dump_msg_hdr() 232 cipher_key_len = 24; in spum_dump_msg_hdr() 236 cipher_key_len = 32; in spum_dump_msg_hdr() 246 name, cipher_key_len); in spum_dump_msg_hdr() 250 packet_dump(" KEY2: ", ptr, cipher_key_len); in spum_dump_msg_hdr() 251 ptr += cipher_key_len; in spum_dump_msg_hdr() 252 packet_dump(" KEY1: ", ptr, cipher_key_len); in spum_dump_msg_hdr() [all...] |
H A D | spu2.c | 548 * @cipher_key_len: Length of cipher key, in bytes 556 u32 cipher_key_len, u32 cipher_iv_len) in spu2_fmd_init() 570 ctrl1 = (cipher_key_len << SPU2_CIPH_KEY_LEN_SHIFT) | in spu2_fmd_init() 645 * @cipher_key_len: Length of cipher key, in bytes 661 u64 auth_key_len, u64 cipher_key_len, in spu2_fmd_ctrl1_write() 681 if (cipher_key_len) in spu2_fmd_ctrl1_write() 682 ctrl1 |= ((cipher_key_len << SPU2_CIPH_KEY_LEN_SHIFT) & in spu2_fmd_ctrl1_write() 727 * @cipher_key_len: Length of cipher key, in bytes 732 u64 cipher_key_len, u64 cipher_iv_len) in spu2_fmd_ctrl2_write() 553 spu2_fmd_init(struct SPU2_FMD *fmd, enum spu2_cipher_type spu2_type, enum spu2_cipher_mode spu2_mode, u32 cipher_key_len, u32 cipher_iv_len) spu2_fmd_init() argument 659 spu2_fmd_ctrl1_write(struct SPU2_FMD *fmd, bool is_inbound, u64 assoc_size, u64 auth_key_len, u64 cipher_key_len, bool gen_iv, bool hash_iv, bool return_iv, u64 ret_iv_len, u64 ret_iv_offset, u64 cipher_iv_len, u64 digest_size, bool return_payload, bool return_md) spu2_fmd_ctrl1_write() argument 730 spu2_fmd_ctrl2_write(struct SPU2_FMD *fmd, u64 cipher_offset, u64 auth_key_len, u64 auth_iv_len, u64 cipher_key_len, u64 cipher_iv_len) spu2_fmd_ctrl2_write() argument
|
/kernel/linux/linux-6.6/drivers/crypto/bcm/ |
H A D | spu.c | 26 unsigned int cipher_key_len = 0; in spum_dump_msg_hdr() local 218 cipher_key_len = 8; in spum_dump_msg_hdr() 222 cipher_key_len = 24; in spum_dump_msg_hdr() 228 cipher_key_len = 16; in spum_dump_msg_hdr() 232 cipher_key_len = 24; in spum_dump_msg_hdr() 236 cipher_key_len = 32; in spum_dump_msg_hdr() 246 name, cipher_key_len); in spum_dump_msg_hdr() 250 packet_dump(" KEY2: ", ptr, cipher_key_len); in spum_dump_msg_hdr() 251 ptr += cipher_key_len; in spum_dump_msg_hdr() 252 packet_dump(" KEY1: ", ptr, cipher_key_len); in spum_dump_msg_hdr() [all...] |
H A D | spu2.c | 549 * @cipher_key_len: Length of cipher key, in bytes 557 u32 cipher_key_len, u32 cipher_iv_len) in spu2_fmd_init() 571 ctrl1 = (cipher_key_len << SPU2_CIPH_KEY_LEN_SHIFT) | in spu2_fmd_init() 647 * @cipher_key_len: Length of cipher key, in bytes 663 u64 auth_key_len, u64 cipher_key_len, in spu2_fmd_ctrl1_write() 683 if (cipher_key_len) in spu2_fmd_ctrl1_write() 684 ctrl1 |= ((cipher_key_len << SPU2_CIPH_KEY_LEN_SHIFT) & in spu2_fmd_ctrl1_write() 729 * @cipher_key_len: Length of cipher key, in bytes 734 u64 cipher_key_len, u64 cipher_iv_len) in spu2_fmd_ctrl2_write() 554 spu2_fmd_init(struct SPU2_FMD *fmd, enum spu2_cipher_type spu2_type, enum spu2_cipher_mode spu2_mode, u32 cipher_key_len, u32 cipher_iv_len) spu2_fmd_init() argument 661 spu2_fmd_ctrl1_write(struct SPU2_FMD *fmd, bool is_inbound, u64 assoc_size, u64 auth_key_len, u64 cipher_key_len, bool gen_iv, bool hash_iv, bool return_iv, u64 ret_iv_len, u64 ret_iv_offset, u64 cipher_iv_len, u64 digest_size, bool return_payload, bool return_md) spu2_fmd_ctrl1_write() argument 732 spu2_fmd_ctrl2_write(struct SPU2_FMD *fmd, u64 cipher_offset, u64 auth_key_len, u64 auth_iv_len, u64 cipher_key_len, u64 cipher_iv_len) spu2_fmd_ctrl2_write() argument
|
/kernel/linux/linux-5.10/drivers/crypto/ |
H A D | picoxcell_crypto.c | 170 u8 cipher_key_len; member 482 ctx->cipher_key_len = keys.enckeylen; in spacc_aead_setkey() 521 ctx->cipher_key_len != AES_KEYSIZE_128 && in spacc_aead_need_fallback() 522 ctx->cipher_key_len != AES_KEYSIZE_256) in spacc_aead_need_fallback() 566 ctx->cipher_key_len, aead_req->iv, crypto_aead_ivsize(aead), in spacc_aead_submit()
|