Searched refs:aes_ctx (Results 1 – 8 of 8) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/crypto/ |
| H A D | padlock-aes.c | 60 struct aes_ctx { struct 87 static inline struct aes_ctx *aes_ctx_common(void *ctx) in aes_ctx_common() argument 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 102 static inline struct aes_ctx *skcipher_aes_ctx(struct crypto_skcipher *tfm) in skcipher_aes_ctx() 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() [all …]
|
| /OK3568_Linux_fs/kernel/arch/x86/crypto/ |
| H A D | aesni-intel_glue.c | 302 static inline struct crypto_aes_ctx *aes_ctx(void *raw_ctx) in aes_ctx() function 315 struct crypto_aes_ctx *ctx = aes_ctx(raw_ctx); in aes_set_key_common() 341 struct crypto_aes_ctx *ctx = aes_ctx(crypto_tfm_ctx(tfm)); in aesni_encrypt() 354 struct crypto_aes_ctx *ctx = aes_ctx(crypto_tfm_ctx(tfm)); in aesni_decrypt() 375 struct crypto_aes_ctx *ctx = aes_ctx(crypto_skcipher_ctx(tfm)); in ecb_encrypt() 397 struct crypto_aes_ctx *ctx = aes_ctx(crypto_skcipher_ctx(tfm)); in ecb_decrypt() 419 struct crypto_aes_ctx *ctx = aes_ctx(crypto_skcipher_ctx(tfm)); in cbc_encrypt() 441 struct crypto_aes_ctx *ctx = aes_ctx(crypto_skcipher_ctx(tfm)); in cbc_decrypt() 496 struct crypto_aes_ctx *ctx = aes_ctx(crypto_skcipher_ctx(tfm)); in ctr_crypt() 595 aes_ctx(ctx->raw_tweak_ctx), in xts_encrypt() [all …]
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/include/mbedtls/ |
| H A D | ctr_drbg.h | 194 mbedtls_aes_context aes_ctx; /*!< The AES context. */ member
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/include/mbedtls/ |
| H A D | ctr_drbg.h | 194 mbedtls_aes_context aes_ctx; /*!< The AES context. */ member
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/host_include/mbedtls/ |
| H A D | ctr_drbg.h | 194 mbedtls_aes_context aes_ctx; /*!< The AES context. */ member
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/host_include/mbedtls/ |
| H A D | ctr_drbg.h | 194 mbedtls_aes_context aes_ctx; /*!< The AES context. */ member
|
| /OK3568_Linux_fs/kernel/drivers/crypto/mediatek/ |
| H A D | mtk-aes.c | 984 struct crypto_aes_ctx aes_ctx; in mtk_aes_gcm_setkey() local 1005 err = aes_expandkey(&aes_ctx, key, keylen); in mtk_aes_gcm_setkey() 1009 aes_encrypt(&aes_ctx, hash.x8, hash.x8); in mtk_aes_gcm_setkey() 1010 memzero_explicit(&aes_ctx, sizeof(aes_ctx)); in mtk_aes_gcm_setkey()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/ |
| H A D | chcr_ktls.c | 79 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()
|