Home
last modified time | relevance | path

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

/linux/arch/arm64/crypto/
A Daes-ce-ccm-glue.c18 static int num_rounds(struct crypto_aes_ctx *ctx) in num_rounds() function
117 ctx->key_enc, num_rounds(ctx)); in ccm_calculate_auth_mac()
132 num_rounds(ctx)); in ccm_calculate_auth_mac()
180 num_rounds(ctx), mac, walk.iv); in ccm_encrypt()
183 ce_aes_ccm_final(mac, buf, ctx->key_enc, num_rounds(ctx)); in ccm_encrypt()
238 num_rounds(ctx), mac, walk.iv); in ccm_decrypt()
241 ce_aes_ccm_final(mac, buf, ctx->key_enc, num_rounds(ctx)); in ccm_decrypt()
A Daes-ce-glue.c34 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 Dghash-ce-glue.c217 static int num_rounds(struct crypto_aes_ctx *ctx) in num_rounds() function
345 int nrounds = num_rounds(&ctx->aes_key); in gcm_encrypt()
411 int nrounds = num_rounds(&ctx->aes_key); in gcm_decrypt()
/linux/arch/arm/crypto/
A Daes-ce-glue.c57 static int num_rounds(struct crypto_aes_ctx *ctx) in num_rounds() function
126 j = num_rounds(ctx); in ce_aes_expandkey()
180 ctx->key_enc, num_rounds(ctx), blocks); in ecb_encrypt()
200 ctx->key_dec, num_rounds(ctx), blocks); in ecb_decrypt()
218 ctx->key_enc, num_rounds(ctx), blocks, in cbc_encrypt_walk()
248 ctx->key_dec, num_rounds(ctx), blocks, in cbc_decrypt_walk()
318 ctx->key_enc, num_rounds(ctx), walk.nbytes, in cts_cbc_encrypt()
376 ctx->key_dec, num_rounds(ctx), walk.nbytes, in cts_cbc_decrypt()
395 ctx->key_enc, num_rounds(ctx), blocks, in ctr_encrypt()
448 int err, first, rounds = num_rounds(&ctx->key1); in xts_encrypt()
[all …]

Completed in 9 milliseconds