Searched refs:num_rounds (Results 1 – 4 of 4) sorted by relevance
| /Linux-v4.19/arch/arm64/crypto/ |
| D | aes-ce-ccm-glue.c | 22 static int num_rounds(struct crypto_aes_ctx *ctx) in num_rounds() function 115 num_rounds(key)); in ccm_update_mac() 130 num_rounds(key)); in ccm_update_mac() 139 num_rounds(key)); in ccm_update_mac() 214 num_rounds(ctx)); in ccm_crypt_fallback() 216 num_rounds(ctx)); in ccm_crypt_fallback() 231 __aes_arm64_encrypt(ctx->key_enc, buf, iv0, num_rounds(ctx)); in ccm_crypt_fallback() 232 __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() 279 num_rounds(ctx)); in ccm_encrypt() [all …]
|
| D | aes-ce-glue.c | 39 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()
|
| D | ghash-ce-glue.c | 243 static int num_rounds(struct crypto_aes_ctx *ctx) in num_rounds() function 269 num_rounds(&ctx->aes_key)); in gcm_setkey() 378 int nrounds = num_rounds(&ctx->aes_key); in gcm_encrypt() 499 int nrounds = num_rounds(&ctx->aes_key); in gcm_decrypt()
|
| /Linux-v4.19/arch/arm/crypto/ |
| D | aes-ce-glue.c | 53 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()
|