Searched refs:num_rounds (Results 1 – 4 of 4) sorted by relevance
/arch/arm64/crypto/ |
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()
|
D | aes-ce-ccm-glue.c | 20 static int num_rounds(struct crypto_aes_ctx *ctx) in num_rounds() function 111 num_rounds(key)); in ccm_update_mac() 261 num_rounds(ctx), mac, walk.iv); in ccm_encrypt() 269 num_rounds(ctx)); in ccm_encrypt() 319 num_rounds(ctx), mac, walk.iv); in ccm_decrypt() 327 num_rounds(ctx)); in ccm_decrypt()
|
D | ghash-ce-glue.c | 291 static int num_rounds(struct crypto_aes_ctx *ctx) in num_rounds() function 428 int nrounds = num_rounds(&ctx->aes_key); in gcm_encrypt() 548 int nrounds = num_rounds(&ctx->aes_key); in gcm_decrypt()
|
/arch/arm/crypto/ |
D | aes-ce-glue.c | 57 static int num_rounds(struct crypto_aes_ctx *ctx) in num_rounds() function 126 j = num_rounds(ctx); in ce_aes_expandkey() 190 ctx->key_enc, num_rounds(ctx), blocks); in ecb_encrypt() 210 ctx->key_dec, num_rounds(ctx), blocks); in ecb_decrypt() 228 ctx->key_enc, num_rounds(ctx), blocks, in cbc_encrypt_walk() 258 ctx->key_dec, num_rounds(ctx), blocks, in cbc_decrypt_walk() 328 ctx->key_enc, num_rounds(ctx), walk.nbytes, in cts_cbc_encrypt() 386 ctx->key_dec, num_rounds(ctx), walk.nbytes, in cts_cbc_decrypt() 405 ctx->key_enc, num_rounds(ctx), blocks, in ctr_encrypt() 422 ce_aes_ctr_encrypt(tail, NULL, ctx->key_enc, num_rounds(ctx), in ctr_encrypt() [all …]
|