Home
last modified time | relevance | path

Searched refs:enckey_len (Results 1 – 3 of 3) sorted by relevance

/drivers/crypto/chelsio/
Dchcr_algo.c393 ablkctx->enckey_len << 3); in generate_copy_rrkey()
394 memset(key_ctx->key + ablkctx->enckey_len, 0, in generate_copy_rrkey()
395 CHCR_AES_MAX_KEY_LEN - ablkctx->enckey_len); in generate_copy_rrkey()
398 ablkctx->key + (ablkctx->enckey_len >> 1), in generate_copy_rrkey()
399 ablkctx->enckey_len >> 1); in generate_copy_rrkey()
400 get_aes_decrypt_key(key_ctx->key + (ablkctx->enckey_len >> 1), in generate_copy_rrkey()
401 ablkctx->key, ablkctx->enckey_len << 2); in generate_copy_rrkey()
480 if ((ablkctx->enckey_len == 0) || (ivsize > AES_BLOCK_SIZE) || in create_cipher_wr()
487 (DIV_ROUND_UP(ablkctx->enckey_len, 16) * 16); in create_cipher_wr()
519 memcpy(key_ctx->key, ablkctx->key, ablkctx->enckey_len); in create_cipher_wr()
[all …]
Dchcr_crypto.h132 unsigned int enckey_len; member
/drivers/crypto/
Dixp4xx_crypto.c184 int enckey_len; member
1107 if (!ctx->enckey_len && !ctx->authkey_len) in aead_setup()
1115 ret = setup_cipher(&tfm->base, 0, ctx->enckey, ctx->enckey_len); in aead_setup()
1118 ret = setup_cipher(&tfm->base, 1, ctx->enckey, ctx->enckey_len); in aead_setup()
1171 ctx->enckey_len = keys.enckeylen; in aead_setkey()