/openbmc/qemu/hw/virtio/ |
H A D | virtio-crypto.c | 154 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 D | vhost-user.c | 2582 if (sess->auth_key_len > 0) { in vhost_user_crypto_create_session() 2584 if (sess->auth_key_len > keylen) { in vhost_user_crypto_create_session() 2590 sess->auth_key_len); in vhost_user_crypto_create_session()
|
/openbmc/linux/drivers/crypto/bcm/ |
H A D | spu2.c | 663 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 D | spu2.h | 179 u16 spu2_response_hdr_len(u16 auth_key_len, u16 enc_key_len, bool is_hash);
|
H A D | spu.h | 228 u16 spum_response_hdr_len(u16 auth_key_len, u16 enc_key_len, bool is_hash);
|
H A D | cipher.h | 362 u16 (*spu_response_hdr_len)(u16 auth_key_len, u16 enc_key_len,
|
H A D | spu.c | 404 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 D | otx2_cptvf_algs.h | 167 u32 auth_key_len; member
|
H A D | otx2_cptvf_algs.c | 831 ctx->auth_key_len = authkeylen; in aead_hmac_init() 959 memcpy(fctx->enc.encr_key, ctx->key + ctx->auth_key_len, in create_aead_ctx_hdr() 1045 req_info->req.param1 = ctx->auth_key_len; in create_hmac_ctx_hdr() 1050 req_info->in[*argcnt].size = round_up(ctx->auth_key_len, 8); in create_hmac_ctx_hdr() 1051 req_info->req.dlen += round_up(ctx->auth_key_len, 8); in create_hmac_ctx_hdr()
|
/openbmc/linux/drivers/crypto/marvell/octeontx/ |
H A D | otx_cptvf_algs.h | 176 u32 auth_key_len; member
|
H A D | otx_cptvf_algs.c | 776 ctx->auth_key_len = authkeylen; in aead_hmac_init() 908 memcpy(fctx->enc.encr_key, ctx->key + ctx->auth_key_len, in create_aead_ctx_hdr() 991 req_info->req.param1 = ctx->auth_key_len; in create_hmac_ctx_hdr() 996 req_info->in[*argcnt].size = round_up(ctx->auth_key_len, 8); in create_hmac_ctx_hdr() 997 req_info->req.dlen += round_up(ctx->auth_key_len, 8); in create_hmac_ctx_hdr()
|
/openbmc/qemu/include/sysemu/ |
H A D | cryptodev.h | 77 uint32_t auth_key_len; member
|
/openbmc/linux/include/uapi/linux/ |
H A D | virtio_crypto.h | 157 __le32 auth_key_len; member
|
/openbmc/qemu/include/standard-headers/linux/ |
H A D | virtio_crypto.h | 157 uint32_t auth_key_len; member
|
/openbmc/linux/drivers/crypto/ |
H A D | n2_core.c | 523 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()
|