Home
last modified time | relevance | path

Searched refs:auth_key_len (Results 1 – 15 of 15) sorted by relevance

/openbmc/qemu/hw/virtio/
H A Dvirtio-crypto.c154 sym_info->auth_key_len = ldl_le_p( in virtio_crypto_create_sym_session()
155 &sess_req->u.chain.para.u.mac_param.auth_key_len); in virtio_crypto_create_sym_session()
158 if (sym_info->auth_key_len > vcrypto->conf.max_auth_key_len) { in virtio_crypto_create_sym_session()
160 sym_info->auth_key_len); in virtio_crypto_create_sym_session()
164 if (sym_info->auth_key_len > 0) { in virtio_crypto_create_sym_session()
165 sym_info->auth_key = g_malloc(sym_info->auth_key_len); in virtio_crypto_create_sym_session()
167 sym_info->auth_key_len); in virtio_crypto_create_sym_session()
168 if (unlikely(s != sym_info->auth_key_len)) { in virtio_crypto_create_sym_session()
173 iov_discard_front(&iov, &out_num, sym_info->auth_key_len); in virtio_crypto_create_sym_session()
H A Dvhost-user.c2544 if (sess->auth_key_len > 0) { in vhost_user_crypto_create_session()
2546 if (sess->auth_key_len > keylen) { in vhost_user_crypto_create_session()
2552 sess->auth_key_len); in vhost_user_crypto_create_session()
/openbmc/linux/drivers/crypto/bcm/
H A Dspu2.c663 u64 auth_key_len, u64 cipher_key_len, in spu2_fmd_ctrl1_write() argument
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()
733 u64 auth_key_len, u64 auth_iv_len, in spu2_fmd_ctrl2_write() argument
827 u16 spu2_response_hdr_len(u16 auth_key_len, u16 enc_key_len, bool is_hash) in spu2_response_hdr_len() 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.c404 u16 spum_response_hdr_len(u16 auth_key_len, u16 enc_key_len, bool is_hash) in spum_response_hdr_len() argument
/openbmc/linux/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()
/openbmc/linux/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()
/openbmc/qemu/include/sysemu/
H A Dcryptodev.h77 uint32_t auth_key_len; member
/openbmc/qemu/include/standard-headers/linux/
H A Dvirtio_crypto.h157 uint32_t auth_key_len; member
/openbmc/linux/include/uapi/linux/
H A Dvirtio_crypto.h157 __le32 auth_key_len; member
/openbmc/linux/drivers/crypto/
H A Dn2_core.c523 unsigned long auth_key, unsigned int auth_key_len) in n2_do_async_digest() argument
564 ent->control = control_word_base(nbytes, auth_key_len, 0, in n2_do_async_digest()