Searched refs:aes_ctx (Results 1 - 7 of 7) sorted by path
/linux-master/arch/arm/crypto/ |
H A D | ghash-ce-glue.c | 386 struct crypto_aes_ctx aes_ctx; local 390 ret = aes_expandkey(&aes_ctx, inkey, keylen); 394 aes_encrypt(&aes_ctx, (u8 *)&k, (u8[AES_BLOCK_SIZE]){}); 396 memcpy(ctx->rk, aes_ctx.key_enc, sizeof(ctx->rk)); 399 memzero_explicit(&aes_ctx, sizeof(aes_ctx));
|
/linux-master/arch/x86/crypto/ |
H A D | aesni-intel_glue.c | 220 static inline struct crypto_aes_ctx *aes_ctx(void *raw_ctx) function 251 return aes_set_key_common(aes_ctx(crypto_tfm_ctx(tfm)), in_key, 257 struct crypto_aes_ctx *ctx = aes_ctx(crypto_tfm_ctx(tfm)); 270 struct crypto_aes_ctx *ctx = aes_ctx(crypto_tfm_ctx(tfm)); 284 return aes_set_key_common(aes_ctx(crypto_skcipher_ctx(tfm)), key, len); 290 struct crypto_aes_ctx *ctx = aes_ctx(crypto_skcipher_ctx(tfm)); 312 struct crypto_aes_ctx *ctx = aes_ctx(crypto_skcipher_ctx(tfm)); 334 struct crypto_aes_ctx *ctx = aes_ctx(crypto_skcipher_ctx(tfm)); 356 struct crypto_aes_ctx *ctx = aes_ctx(crypto_skcipher_ctx(tfm)); 378 struct crypto_aes_ctx *ctx = aes_ctx(crypto_skcipher_ct 655 gcmaes_crypt_by_sg(bool enc, struct aead_request *req, unsigned int assoclen, u8 *hash_subkey, u8 *iv, void *aes_ctx, u8 *auth_tag, unsigned long auth_tag_len) argument 765 gcmaes_encrypt(struct aead_request *req, unsigned int assoclen, u8 *hash_subkey, u8 *iv, void *aes_ctx) argument 784 gcmaes_decrypt(struct aead_request *req, unsigned int assoclen, u8 *hash_subkey, u8 *iv, void *aes_ctx) argument 815 void *aes_ctx = &(ctx->aes_key_expanded); local 843 void *aes_ctx = &(ctx->aes_key_expanded); local 1327 void *aes_ctx = &(ctx->aes_key_expanded); local 1344 void *aes_ctx = &(ctx->aes_key_expanded); local [all...] |
/linux-master/drivers/char/tpm/ |
H A D | tpm2-sessions.c | 134 struct crypto_aes_ctx aes_ctx; member in struct:tpm2_auth 524 aes_expandkey(&auth->aes_ctx, auth->scratch, AES_KEY_BYTES); 525 aescfb_encrypt(&auth->aes_ctx, &buf->data[offset_p], 791 aes_expandkey(&auth->aes_ctx, auth->scratch, AES_KEY_BYTES); 792 aescfb_decrypt(&auth->aes_ctx, &buf->data[offset_p],
|
/linux-master/drivers/crypto/ |
H A D | padlock-aes.c | 60 struct aes_ctx { struct 87 static inline struct aes_ctx *aes_ctx_common(void *ctx) 94 return (struct aes_ctx *)ALIGN(addr, align); 97 static inline struct aes_ctx *aes_ctx(struct crypto_tfm *tfm) function 102 static inline struct aes_ctx *skcipher_aes_ctx(struct crypto_skcipher *tfm) 110 struct aes_ctx *ctx = aes_ctx(tfm); 308 struct aes_ctx *ctx = aes_ctx(tf [all...] |
/linux-master/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/ |
H A D | chcr_ktls.c | 79 struct crypto_aes_ctx aes_ctx; local 141 ret = aes_expandkey(&aes_ctx, key, keylen); 146 aes_encrypt(&aes_ctx, ghash_h, ghash_h); 147 memzero_explicit(&aes_ctx, sizeof(aes_ctx));
|
/linux-master/include/crypto/ |
H A D | gcm.h | 69 struct crypto_aes_ctx aes_ctx; member in struct:aesgcm_ctx
|
/linux-master/lib/crypto/ |
H A D | aesgcm.c | 53 aes_expandkey(&ctx->aes_ctx, key, keysize); 58 aesgcm_encrypt_block(&ctx->aes_ctx, &ctx->ghash_key, kin); 101 aesgcm_encrypt_block(&ctx->aes_ctx, buf, ctr); 123 aesgcm_encrypt_block(&ctx->aes_ctx, buf, ctr);
|
Completed in 200 milliseconds