/Linux-v4.19/drivers/crypto/bcm/ |
D | cipher.c | 755 hash_parms.key_len = ctx->authkeylen; in handle_ahash_req() 1361 hash_parms.key_len = ctx->authkeylen; in handle_aead_req() 1365 (ctx->authkeylen < SHA224_DIGEST_SIZE)) in handle_aead_req() 1979 ctx->spu_resp_hdr_len = spu->spu_response_hdr_len(ctx->authkeylen, in ablkcipher_setkey() 2034 ctx->authkeylen); in ahash_enqueue() 2081 ctx->spu_resp_hdr_len = spu->spu_response_hdr_len(ctx->authkeylen, 0, in __ahash_init() 2149 if (ctx->authkeylen > 0) { in ahash_init() 2151 ctx->authkeylen); in ahash_init() 2380 ctx->authkeylen = keylen; in ahash_setkey() 2480 ctx->authkeylen = digestsize; in ahash_hmac_setkey() [all …]
|
D | cipher.h | 194 unsigned int authkeylen; member
|
/Linux-v4.19/include/crypto/ |
D | authenc.h | 30 unsigned int authkeylen; member
|
/Linux-v4.19/crypto/ |
D | authenc.c | 73 keys->authkeylen = keylen - keys->enckeylen; in crypto_authenc_extractkeys() 75 keys->enckey = key + keys->authkeylen; in crypto_authenc_extractkeys() 96 err = crypto_ahash_setkey(auth, keys.authkey, keys.authkeylen); in crypto_authenc_setkey()
|
D | authencesn.c | 78 err = crypto_ahash_setkey(auth, keys.authkey, keys.authkeylen); in crypto_authenc_esn_setkey()
|
/Linux-v4.19/drivers/crypto/inside-secure/ |
D | safexcel_cipher.c | 209 keys.authkeylen, &istate, &ostate)) in safexcel_aead_aes_setkey() 214 keys.authkeylen, &istate, &ostate)) in safexcel_aead_aes_setkey() 219 keys.authkeylen, &istate, &ostate)) in safexcel_aead_aes_setkey() 224 keys.authkeylen, &istate, &ostate)) in safexcel_aead_aes_setkey() 229 keys.authkeylen, &istate, &ostate)) in safexcel_aead_aes_setkey()
|
/Linux-v4.19/drivers/crypto/ |
D | talitos.c | 852 unsigned int authkeylen; member 892 if (keys.authkeylen + keys.enckeylen > TALITOS_MAX_KEY_SIZE) in aead_setkey() 898 memcpy(ctx->key, keys.authkey, keys.authkeylen); in aead_setkey() 899 memcpy(&ctx->key[keys.authkeylen], keys.enckey, keys.enckeylen); in aead_setkey() 901 ctx->keylen = keys.authkeylen + keys.enckeylen; in aead_setkey() 903 ctx->authkeylen = keys.authkeylen; in aead_setkey() 1221 to_talitos_ptr(&desc->ptr[0], ctx->dma_key, ctx->authkeylen, is_sec1); in ipsec_esp() 1245 to_talitos_ptr(ckey_ptr, ctx->dma_key + ctx->authkeylen, in ipsec_esp()
|
D | ixp4xx_crypto.c | 1159 if (keys.authkeylen > sizeof(ctx->authkey)) in aead_setkey() 1165 memcpy(ctx->authkey, keys.authkey, keys.authkeylen); in aead_setkey() 1167 ctx->authkey_len = keys.authkeylen; in aead_setkey()
|
D | picoxcell_crypto.c | 493 if (keys.authkeylen > sizeof(ctx->hash_ctx)) in spacc_aead_setkey() 499 memcpy(ctx->hash_ctx, keys.authkey, keys.authkeylen); in spacc_aead_setkey() 500 ctx->hash_key_len = keys.authkeylen; in spacc_aead_setkey()
|
D | atmel-aes.c | 2141 keys.authkey, keys.authkeylen, in atmel_aes_authenc_setkey()
|
/Linux-v4.19/drivers/crypto/chelsio/ |
D | chcr_algo.c | 3446 if (keys.authkeylen > bs) { in chcr_authenc_setkey() 3448 keys.authkeylen, in chcr_authenc_setkey() 3454 keys.authkeylen = max_authsize; in chcr_authenc_setkey() 3456 memcpy(o_ptr, keys.authkey, keys.authkeylen); in chcr_authenc_setkey() 3459 memset(pad + keys.authkeylen, 0, bs - keys.authkeylen); in chcr_authenc_setkey() 3460 memcpy(pad, o_ptr, keys.authkeylen); in chcr_authenc_setkey() 3468 memset(pad + keys.authkeylen, 0, bs - keys.authkeylen); in chcr_authenc_setkey() 3469 memcpy(pad, o_ptr, keys.authkeylen); in chcr_authenc_setkey()
|
/Linux-v4.19/drivers/crypto/caam/ |
D | caamalg_qi.c | 212 keys.authkeylen + keys.enckeylen, keys.enckeylen, in aead_setkey() 213 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()
|
D | caamalg.c | 527 keys.authkeylen + keys.enckeylen, keys.enckeylen, in aead_setkey() 528 keys.authkeylen); in aead_setkey() 538 ctx->adata.keylen = keys.authkeylen; in aead_setkey() 545 memcpy(ctx->key, keys.authkey, keys.authkeylen); in aead_setkey() 555 keys.authkeylen, CAAM_MAX_KEY_SIZE - in aead_setkey()
|
/Linux-v4.19/drivers/crypto/qat/qat_common/ |
D | qat_algs.c | 301 if (qat_alg_do_precomputes(hash, ctx, keys->authkey, keys->authkeylen)) in qat_alg_aead_init_enc_session() 388 if (qat_alg_do_precomputes(hash, ctx, keys->authkey, keys->authkeylen)) in qat_alg_aead_init_dec_session()
|
/Linux-v4.19/drivers/md/ |
D | dm-crypt.c | 1933 unsigned enckeylen, unsigned authkeylen) in crypt_copy_authenckey() argument 1944 memcpy(p, key + enckeylen, authkeylen); in crypt_copy_authenckey() 1945 p += authkeylen; in crypt_copy_authenckey()
|