Home
last modified time | relevance | path

Searched refs:QCE_CCM4309_SALT_SIZE (Results 1 – 2 of 2) sorted by relevance

/linux-6.3-rc2/drivers/crypto/qce/
A Daead.h13 #define QCE_CCM4309_SALT_SIZE 3 macro
18 u8 ccm4309_salt[QCE_CCM4309_SALT_SIZE];
A Daead.c423 memcpy(&rctx->ccm_rfc4309_iv[1], ctx->ccm4309_salt, QCE_CCM4309_SALT_SIZE); in qce_aead_async_req_handle()
572 if (keylen < QCE_CCM4309_SALT_SIZE) in qce_aead_ccm_setkey()
574 keylen -= QCE_CCM4309_SALT_SIZE; in qce_aead_ccm_setkey()
575 memcpy(ctx->ccm4309_salt, key + keylen, QCE_CCM4309_SALT_SIZE); in qce_aead_ccm_setkey()
591 crypto_aead_setkey(ctx->fallback, key, keylen + QCE_CCM4309_SALT_SIZE) : in qce_aead_ccm_setkey()

Completed in 5 milliseconds