Home
last modified time | relevance | path

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

/drivers/crypto/
A Dpadlock-aes.c60 struct aes_ctx { struct
94 return (struct aes_ctx *)ALIGN(addr, align); in aes_ctx_common()
97 static inline struct aes_ctx *aes_ctx(struct crypto_tfm *tfm) in aes_ctx() function
110 struct aes_ctx *ctx = aes_ctx(tfm); in aes_set_key()
308 struct aes_ctx *ctx = aes_ctx(tfm); in padlock_aes_encrypt()
317 struct aes_ctx *ctx = aes_ctx(tfm); in padlock_aes_decrypt()
330 .cra_ctxsize = sizeof(struct aes_ctx),
347 struct aes_ctx *ctx = skcipher_aes_ctx(tfm); in ecb_aes_encrypt()
372 struct aes_ctx *ctx = skcipher_aes_ctx(tfm); in ecb_aes_decrypt()
399 .base.cra_ctxsize = sizeof(struct aes_ctx),
[all …]
/drivers/char/tpm/
A Dtpm2-sessions.c129 struct crypto_aes_ctx aes_ctx; member
675 aes_expandkey(&auth->aes_ctx, auth->scratch, AES_KEY_BYTES); in tpm_buf_fill_hmac_session()
676 aescfb_encrypt(&auth->aes_ctx, &buf->data[offset_p], in tpm_buf_fill_hmac_session()
848 aes_expandkey(&auth->aes_ctx, auth->scratch, AES_KEY_BYTES); in tpm_buf_check_hmac_response()
849 aescfb_decrypt(&auth->aes_ctx, &buf->data[offset_p], in tpm_buf_check_hmac_response()
/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
A Dchcr_ktls.c79 struct crypto_aes_ctx aes_ctx; in chcr_ktls_save_keys() local
141 ret = aes_expandkey(&aes_ctx, key, keylen); in chcr_ktls_save_keys()
146 aes_encrypt(&aes_ctx, ghash_h, ghash_h); in chcr_ktls_save_keys()
147 memzero_explicit(&aes_ctx, sizeof(aes_ctx)); in chcr_ktls_save_keys()

Completed in 10 milliseconds