Searched refs:authkeylen (Results 1 – 8 of 8) sorted by relevance
/linux-4.4.14/include/crypto/ |
D | authenc.h | 30 unsigned int authkeylen; member
|
/linux-4.4.14/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-4.4.14/drivers/crypto/ |
D | talitos.c | 818 unsigned int authkeylen; member 857 if (keys.authkeylen + keys.enckeylen > TALITOS_MAX_KEY_SIZE) in aead_setkey() 860 memcpy(ctx->key, keys.authkey, keys.authkeylen); in aead_setkey() 861 memcpy(&ctx->key[keys.authkeylen], keys.enckey, keys.enckeylen); in aead_setkey() 863 ctx->keylen = keys.authkeylen + keys.enckeylen; in aead_setkey() 865 ctx->authkeylen = keys.authkeylen; in aead_setkey() 1098 map_single_talitos_ptr(dev, &desc->ptr[0], ctx->authkeylen, &ctx->key, in ipsec_esp() 1130 (char *)&ctx->key + ctx->authkeylen, in ipsec_esp()
|
D | ixp4xx_crypto.c | 1165 if (keys.authkeylen > sizeof(ctx->authkey)) in aead_setkey() 1171 memcpy(ctx->authkey, keys.authkey, keys.authkeylen); in aead_setkey() 1173 ctx->authkey_len = keys.authkeylen; in aead_setkey()
|
D | picoxcell_crypto.c | 472 if (keys.authkeylen > sizeof(ctx->hash_ctx)) in spacc_aead_setkey() 478 memcpy(ctx->hash_ctx, keys.authkey, keys.authkeylen); in spacc_aead_setkey() 479 ctx->hash_key_len = keys.authkeylen; in spacc_aead_setkey()
|
/linux-4.4.14/drivers/crypto/caam/ |
D | caamalg.c | 1276 u32 authkeylen) in gen_split_aead_key() argument 1279 ctx->split_key_pad_len, key_in, authkeylen, in gen_split_aead_key() 1306 keys.authkeylen + keys.enckeylen, keys.enckeylen, in aead_setkey() 1307 keys.authkeylen); in aead_setkey() 1314 ret = gen_split_aead_key(ctx, keys.authkey, keys.authkeylen); in aead_setkey()
|
/linux-4.4.14/drivers/crypto/qat/qat_common/ |
D | qat_algs.c | 300 if (qat_alg_do_precomputes(hash, ctx, keys->authkey, keys->authkeylen)) in qat_alg_aead_init_enc_session() 387 if (qat_alg_do_precomputes(hash, ctx, keys->authkey, keys->authkeylen)) in qat_alg_aead_init_dec_session()
|