Searched refs:authkeylen (Results 1 – 8 of 8) sorted by relevance
/linux-4.1.27/include/crypto/ |
D | authenc.h | 30 unsigned int authkeylen; member
|
/linux-4.1.27/drivers/crypto/ |
D | talitos.c | 648 unsigned int authkeylen; member 688 if (keys.authkeylen + keys.enckeylen > TALITOS_MAX_KEY_SIZE) in aead_setkey() 691 memcpy(ctx->key, keys.authkey, keys.authkeylen); in aead_setkey() 692 memcpy(&ctx->key[keys.authkeylen], keys.enckey, keys.enckeylen); in aead_setkey() 694 ctx->keylen = keys.authkeylen + keys.enckeylen; in aead_setkey() 696 ctx->authkeylen = keys.authkeylen; in aead_setkey() 956 map_single_talitos_ptr(dev, &desc->ptr[0], ctx->authkeylen, &ctx->key, in ipsec_esp() 1001 (char *)&ctx->key + ctx->authkeylen, 0, in ipsec_esp()
|
D | ixp4xx_crypto.c | 1156 if (keys.authkeylen > sizeof(ctx->authkey)) in aead_setkey() 1162 memcpy(ctx->authkey, keys.authkey, keys.authkeylen); in aead_setkey() 1164 ctx->authkey_len = keys.authkeylen; in aead_setkey()
|
D | picoxcell_crypto.c | 507 if (keys.authkeylen > sizeof(ctx->hash_ctx)) in spacc_aead_setkey() 519 memcpy(ctx->hash_ctx, keys.authkey, keys.authkeylen); in spacc_aead_setkey() 520 ctx->hash_key_len = keys.authkeylen; in spacc_aead_setkey()
|
/linux-4.1.27/crypto/ |
D | authenc.c | 77 keys->authkeylen = keylen - keys->enckeylen; in crypto_authenc_extractkeys() 79 keys->enckey = key + keys->authkeylen; in crypto_authenc_extractkeys() 100 err = crypto_ahash_setkey(auth, keys.authkey, keys.authkeylen); in crypto_authenc_setkey()
|
D | authencesn.c | 74 err = crypto_ahash_setkey(auth, keys.authkey, keys.authkeylen); in crypto_authenc_esn_setkey()
|
/linux-4.1.27/drivers/crypto/qat/qat_common/ |
D | qat_algs.c | 308 if (qat_alg_do_precomputes(hash, ctx, keys->authkey, keys->authkeylen)) in qat_alg_aead_init_enc_session() 394 if (qat_alg_do_precomputes(hash, ctx, keys->authkey, keys->authkeylen)) in qat_alg_aead_init_dec_session()
|
/linux-4.1.27/drivers/crypto/caam/ |
D | caamalg.c | 1646 u32 authkeylen) in gen_split_aead_key() argument 1649 ctx->split_key_pad_len, key_in, authkeylen, in gen_split_aead_key() 1676 keys.authkeylen + keys.enckeylen, keys.enckeylen, in aead_setkey() 1677 keys.authkeylen); in aead_setkey() 1684 ret = gen_split_aead_key(ctx, keys.authkey, keys.authkeylen); in aead_setkey()
|