Searched refs:num_rounds (Results 1 – 3 of 3) sorted by relevance
| /linux/arch/arm64/crypto/ |
| H A D | aes-ce-glue.c | 34 static int num_rounds(struct crypto_aes_ctx *ctx) in num_rounds() function 56 __aes_ce_encrypt(ctx->key_enc, dst, src, num_rounds(ctx)); in aes_cipher_encrypt() 69 __aes_ce_decrypt(ctx->key_dec, dst, src, num_rounds(ctx)); in aes_cipher_decrypt() 129 j = num_rounds(ctx); in ce_aes_expandkey()
|
| H A D | aes-ce-ccm-glue.c | 24 static int num_rounds(struct crypto_aes_ctx *ctx) in num_rounds() function 153 ctx->key_enc, num_rounds(ctx)); in ccm_calculate_auth_mac() 161 ctx->key_enc, num_rounds(ctx)); in ccm_calculate_auth_mac() 209 ctx->key_enc, num_rounds(ctx), in ccm_encrypt() 274 ctx->key_enc, num_rounds(ctx), in ccm_decrypt()
|
| H A D | ghash-ce-glue.c | 189 static int num_rounds(struct crypto_aes_ctx *ctx) in num_rounds() function 299 int nrounds = num_rounds(&ctx->aes_key); in gcm_encrypt() 362 int nrounds = num_rounds(&ctx->aes_key); in gcm_decrypt()
|