Home
last modified time | relevance | path

Searched refs:num_rounds (Results 1 – 4 of 4) sorted by relevance

/arch/arm64/crypto/
Daes-ce-ccm-glue.c22 static int num_rounds(struct crypto_aes_ctx *ctx) in num_rounds() function
114 num_rounds(key)); in ccm_update_mac()
128 num_rounds(key)); in ccm_update_mac()
137 num_rounds(key)); in ccm_update_mac()
211 num_rounds(ctx)); in ccm_crypt_fallback()
213 num_rounds(ctx)); in ccm_crypt_fallback()
228 __aes_arm64_encrypt(ctx->key_enc, buf, iv0, num_rounds(ctx)); in ccm_crypt_fallback()
229 __aes_arm64_encrypt(ctx->key_enc, mac, mac, num_rounds(ctx)); in ccm_crypt_fallback()
271 num_rounds(ctx), mac, walk.iv); in ccm_encrypt()
277 num_rounds(ctx)); in ccm_encrypt()
[all …]
Daes-ce-glue.c39 static int num_rounds(struct crypto_aes_ctx *ctx) in num_rounds() function
56 __aes_arm64_encrypt(ctx->key_enc, dst, src, num_rounds(ctx)); in aes_cipher_encrypt()
61 __aes_ce_encrypt(ctx->key_enc, dst, src, num_rounds(ctx)); in aes_cipher_encrypt()
70 __aes_arm64_decrypt(ctx->key_dec, dst, src, num_rounds(ctx)); in aes_cipher_decrypt()
75 __aes_ce_decrypt(ctx->key_dec, dst, src, num_rounds(ctx)); in aes_cipher_decrypt()
135 j = num_rounds(ctx); in ce_aes_expandkey()
Dghash-ce-glue.c219 static int num_rounds(struct crypto_aes_ctx *ctx) in num_rounds() function
245 num_rounds(&ctx->aes_key)); in gcm_setkey()
366 num_rounds(&ctx->aes_key)); in gcm_encrypt()
369 num_rounds(&ctx->aes_key)); in gcm_encrypt()
379 iv, num_rounds(&ctx->aes_key), ks); in gcm_encrypt()
387 num_rounds(&ctx->aes_key)); in gcm_encrypt()
400 num_rounds(&ctx->aes_key)); in gcm_encrypt()
417 num_rounds(&ctx->aes_key)); in gcm_encrypt()
468 num_rounds(&ctx->aes_key)); in gcm_decrypt()
478 iv, num_rounds(&ctx->aes_key)); in gcm_decrypt()
[all …]
/arch/arm/crypto/
Daes-ce-glue.c53 static int num_rounds(struct crypto_aes_ctx *ctx) in num_rounds() function
126 j = num_rounds(ctx); in ce_aes_expandkey()
190 (u8 *)ctx->key_enc, num_rounds(ctx), blocks); in ecb_encrypt()
210 (u8 *)ctx->key_dec, num_rounds(ctx), blocks); in ecb_decrypt()
230 (u8 *)ctx->key_enc, num_rounds(ctx), blocks, in cbc_encrypt()
251 (u8 *)ctx->key_dec, num_rounds(ctx), blocks, in cbc_decrypt()
271 (u8 *)ctx->key_enc, num_rounds(ctx), blocks, in ctr_encrypt()
287 num_rounds(ctx), blocks, walk.iv); in ctr_encrypt()
300 int err, first, rounds = num_rounds(&ctx->key1); in xts_encrypt()
322 int err, first, rounds = num_rounds(&ctx->key1); in xts_decrypt()