Searched refs:authkeylen (Results 1 – 8 of 8) sorted by relevance
| /linux/drivers/crypto/marvell/octeontx/ |
| H A D | otx_cptvf_algs.c | 755 int authkeylen = keys->authkeylen; in aead_hmac_init() local 760 if (authkeylen > bs) { in aead_hmac_init() 762 authkeylen, ctx->key); in aead_hmac_init() 765 authkeylen = ds; in aead_hmac_init() 767 memcpy(ctx->key, keys->authkey, authkeylen); in aead_hmac_init() 770 ctx->auth_key_len = authkeylen; in aead_hmac_init() 790 memcpy(ctx->key + authkeylen, keys->enckey, keys->enckeylen); in aead_hmac_init() 795 memcpy(ipad, ctx->key, authkeylen); in aead_hmac_init() 796 memset(ipad + authkeylen, 0, bs - authkeylen); in aead_hmac_init()
|
| /linux/crypto/ |
| H A D | authenc.c | 74 keys->authkeylen = keylen - keys->enckeylen; in crypto_authenc_extractkeys() 76 keys->enckey = key + keys->authkeylen; in crypto_authenc_extractkeys() 97 err = crypto_ahash_setkey(auth, keys.authkey, keys.authkeylen); in crypto_authenc_setkey()
|
| H A D | essiv.c | 115 crypto_shash_finup(desc, keys.authkey, keys.authkeylen, salt); in essiv_aead_setkey()
|
| /linux/drivers/crypto/bcm/ |
| H A D | cipher.h | 184 unsigned int authkeylen; member
|
| /linux/drivers/crypto/caam/ |
| H A D | caamalg_qi.c | 213 keys.authkeylen + keys.enckeylen, keys.enckeylen, in aead_setkey() 214 keys.authkeylen); in aead_setkey() 223 ctx->adata.keylen = keys.authkeylen; in aead_setkey() 230 memcpy(ctx->key, keys.authkey, keys.authkeylen); in aead_setkey() 240 keys.authkeylen, CAAM_MAX_KEY_SIZE - in aead_setkey()
|
| H A D | caamalg.c | 604 keys.authkeylen + keys.enckeylen, keys.enckeylen, in aead_setkey() 605 keys.authkeylen); in aead_setkey() 614 ctx->adata.keylen = keys.authkeylen; in aead_setkey() 621 memcpy(ctx->key, keys.authkey, keys.authkeylen); in aead_setkey() 631 keys.authkeylen, CAAM_MAX_KEY_SIZE - in aead_setkey()
|
| /linux/drivers/md/ |
| H A D | dm-crypt.c | 2407 unsigned int enckeylen, unsigned int authkeylen) in crypt_copy_authenckey() argument 2418 memcpy(p, key + enckeylen, authkeylen); in crypt_copy_authenckey() 2419 p += authkeylen; in crypt_copy_authenckey()
|
| /linux/drivers/crypto/inside-secure/ |
| H A D | safexcel_cipher.c | 488 if (safexcel_hmac_setkey(&ctx->base, keys.authkey, keys.authkeylen, in safexcel_aead_setkey()
|