Searched refs:num_rounds (Results 1 – 4 of 4) sorted by relevance
| /arch/arm64/crypto/ |
| 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() 70 __aes_ce_decrypt(ctx->key_dec, dst, src, num_rounds(ctx)); in aes_cipher_decrypt() 130 j = num_rounds(ctx); in ce_aes_expandkey()
|
| A D | aes-ce-ccm-glue.c | 23 static int num_rounds(struct crypto_aes_ctx *ctx) in num_rounds() function 155 ctx->key_enc, num_rounds(ctx)); in ccm_calculate_auth_mac() 163 ctx->key_enc, num_rounds(ctx)); in ccm_calculate_auth_mac() 212 ctx->key_enc, num_rounds(ctx), in ccm_encrypt() 279 ctx->key_enc, num_rounds(ctx), in ccm_decrypt()
|
| 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() 363 int nrounds = num_rounds(&ctx->aes_key); in gcm_decrypt()
|
| /arch/arm/crypto/ |
| A D | aes-ce-glue.c | 55 static int num_rounds(struct crypto_aes_ctx *ctx) in num_rounds() function 124 j = num_rounds(ctx); in ce_aes_expandkey() 178 ctx->key_enc, num_rounds(ctx), blocks); in ecb_encrypt() 198 ctx->key_dec, num_rounds(ctx), blocks); in ecb_decrypt() 216 ctx->key_enc, num_rounds(ctx), blocks, in cbc_encrypt_walk() 246 ctx->key_dec, num_rounds(ctx), blocks, in cbc_decrypt_walk() 316 ctx->key_enc, num_rounds(ctx), walk.nbytes, in cts_cbc_encrypt() 374 ctx->key_dec, num_rounds(ctx), walk.nbytes, in cts_cbc_decrypt() 393 ctx->key_enc, num_rounds(ctx), blocks, in ctr_encrypt() 423 int err, first, rounds = num_rounds(&ctx->key1); in xts_encrypt() [all …]
|
Completed in 11 milliseconds