Home
last modified time | relevance | path

Searched refs:auth_key_len (Results 1 - 23 of 23) sorted by relevance

/kernel/linux/linux-5.10/drivers/crypto/bcm/
H A Dspu2.c644 * @auth_key_len: Length of authentication key, in bytes
661 u64 auth_key_len, u64 cipher_key_len, in spu2_fmd_ctrl1_write()
677 if (auth_key_len) in spu2_fmd_ctrl1_write()
678 ctrl1 |= ((auth_key_len << SPU2_HASH_KEY_LEN_SHIFT) & in spu2_fmd_ctrl1_write()
725 * @auth_key_len: Length of authentication key, in bytes
731 u64 auth_key_len, u64 auth_iv_len, in spu2_fmd_ctrl2_write()
817 * @auth_key_len: Length of authentication key, in bytes
824 u16 spu2_response_hdr_len(u16 auth_key_len, u16 enc_key_len, bool is_hash) in spu2_response_hdr_len() 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
H A Dspu2.h179 u16 spu2_response_hdr_len(u16 auth_key_len, u16 enc_key_len, bool is_hash);
H A Dspu.h227 u16 spum_response_hdr_len(u16 auth_key_len, u16 enc_key_len, bool is_hash);
H A Dcipher.h364 u16 (*spu_response_hdr_len)(u16 auth_key_len, u16 enc_key_len,
H A Dspu.c400 * @auth_key_len: authentication key length (bytes)
406 u16 spum_response_hdr_len(u16 auth_key_len, u16 enc_key_len, bool is_hash) in spum_response_hdr_len() argument
/kernel/linux/linux-6.6/drivers/crypto/bcm/
H A Dspu2.c646 * @auth_key_len: Length of authentication key, in bytes
663 u64 auth_key_len, u64 cipher_key_len, in spu2_fmd_ctrl1_write()
679 if (auth_key_len) in spu2_fmd_ctrl1_write()
680 ctrl1 |= ((auth_key_len << SPU2_HASH_KEY_LEN_SHIFT) & in spu2_fmd_ctrl1_write()
727 * @auth_key_len: Length of authentication key, in bytes
733 u64 auth_key_len, u64 auth_iv_len, in spu2_fmd_ctrl2_write()
819 * @auth_key_len: Length of authentication key, in bytes
827 u16 spu2_response_hdr_len(u16 auth_key_len, u16 enc_key_len, bool is_hash) in spu2_response_hdr_len() 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
H A Dspu2.h179 u16 spu2_response_hdr_len(u16 auth_key_len, u16 enc_key_len, bool is_hash);
H A Dspu.h228 u16 spum_response_hdr_len(u16 auth_key_len, u16 enc_key_len, bool is_hash);
H A Dcipher.h362 u16 (*spu_response_hdr_len)(u16 auth_key_len, u16 enc_key_len,
H A Dspu.c398 * @auth_key_len: authentication key length (bytes)
404 u16 spum_response_hdr_len(u16 auth_key_len, u16 enc_key_len, bool is_hash) in spum_response_hdr_len() argument
/kernel/linux/linux-5.10/drivers/crypto/marvell/octeontx/
H A Dotx_cptvf_algs.h176 u32 auth_key_len; member
H A Dotx_cptvf_algs.c745 int authkeylen = ctx->auth_key_len; in aead_hmac_init()
883 ctx->auth_key_len = authkeylen; in otx_cpt_aead_cbc_aes_sha_setkey()
924 ctx->auth_key_len = keylen; in otx_cpt_aead_ecb_null_sha_setkey()
981 memcpy(fctx->enc.encr_key, ctx->key + ctx->auth_key_len, in create_aead_ctx_hdr()
1064 req_info->req.param1 = ctx->auth_key_len; in create_hmac_ctx_hdr()
1069 req_info->in[*argcnt].size = round_up(ctx->auth_key_len, 8); in create_hmac_ctx_hdr()
1070 req_info->req.dlen += round_up(ctx->auth_key_len, 8); in create_hmac_ctx_hdr()
/kernel/linux/linux-6.6/drivers/crypto/marvell/octeontx2/
H A Dotx2_cptvf_algs.h167 u32 auth_key_len; member
H A Dotx2_cptvf_algs.c802 int authkeylen = ctx->auth_key_len; in aead_hmac_init()
939 ctx->auth_key_len = authkeylen; in otx2_cpt_aead_cbc_aes_sha_setkey()
974 ctx->auth_key_len = keylen; in otx2_cpt_aead_ecb_null_sha_setkey()
1033 memcpy(fctx->enc.encr_key, ctx->key + ctx->auth_key_len, in create_aead_ctx_hdr()
1119 req_info->req.param1 = ctx->auth_key_len; in create_hmac_ctx_hdr()
1124 req_info->in[*argcnt].size = round_up(ctx->auth_key_len, 8); in create_hmac_ctx_hdr()
1125 req_info->req.dlen += round_up(ctx->auth_key_len, 8); in create_hmac_ctx_hdr()
/kernel/linux/linux-6.6/drivers/crypto/marvell/octeontx/
H A Dotx_cptvf_algs.h176 u32 auth_key_len; member
H A Dotx_cptvf_algs.c747 int authkeylen = ctx->auth_key_len; in aead_hmac_init()
885 ctx->auth_key_len = authkeylen; in otx_cpt_aead_cbc_aes_sha_setkey()
926 ctx->auth_key_len = keylen; in otx_cpt_aead_ecb_null_sha_setkey()
983 memcpy(fctx->enc.encr_key, ctx->key + ctx->auth_key_len, in create_aead_ctx_hdr()
1066 req_info->req.param1 = ctx->auth_key_len; in create_hmac_ctx_hdr()
1071 req_info->in[*argcnt].size = round_up(ctx->auth_key_len, 8); in create_hmac_ctx_hdr()
1072 req_info->req.dlen += round_up(ctx->auth_key_len, 8); in create_hmac_ctx_hdr()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
H A Dvirtio_crypto.h119 __le32 auth_key_len; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Dvirtio_crypto.h117 __le32 auth_key_len; member
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H A Dvirtio_crypto.h117 __le32 auth_key_len; member
/kernel/linux/linux-5.10/include/uapi/linux/
H A Dvirtio_crypto.h157 __le32 auth_key_len; member
/kernel/linux/linux-6.6/include/uapi/linux/
H A Dvirtio_crypto.h157 __le32 auth_key_len; member
/kernel/linux/linux-5.10/drivers/crypto/
H A Dn2_core.c521 unsigned long auth_key, unsigned int auth_key_len) in n2_do_async_digest()
562 ent->control = control_word_base(nbytes, auth_key_len, 0, in n2_do_async_digest()
518 n2_do_async_digest(struct ahash_request *req, unsigned int auth_type, unsigned int digest_size, unsigned int result_size, void *hash_loc, unsigned long auth_key, unsigned int auth_key_len) n2_do_async_digest() argument
/kernel/linux/linux-6.6/drivers/crypto/
H A Dn2_core.c523 unsigned long auth_key, unsigned int auth_key_len) in n2_do_async_digest()
564 ent->control = control_word_base(nbytes, auth_key_len, 0, in n2_do_async_digest()
520 n2_do_async_digest(struct ahash_request *req, unsigned int auth_type, unsigned int digest_size, unsigned int result_size, void *hash_loc, unsigned long auth_key, unsigned int auth_key_len) n2_do_async_digest() argument

Completed in 29 milliseconds