Home
last modified time | relevance | path

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

/linux-4.1.27/arch/arm64/crypto/
Daes-ce-ccm-glue.c21 static int num_rounds(struct crypto_aes_ctx *ctx) in num_rounds() function
126 num_rounds(ctx)); in ccm_calculate_auth_mac()
139 num_rounds(ctx)); in ccm_calculate_auth_mac()
183 num_rounds(ctx), mac, walk.iv); in ccm_encrypt()
189 ce_aes_ccm_final(mac, buf, ctx->key_enc, num_rounds(ctx)); in ccm_encrypt()
239 num_rounds(ctx), mac, walk.iv); in ccm_decrypt()
245 ce_aes_ccm_final(mac, buf, ctx->key_enc, num_rounds(ctx)); in ccm_decrypt()
Daes-ce-cipher.c27 static int num_rounds(struct crypto_aes_ctx *ctx) in num_rounds() function
78 "2"(num_rounds(ctx) - 2) in aes_cipher_encrypt()
123 "2"(num_rounds(ctx) - 2) in aes_cipher_decrypt()
204 j = num_rounds(ctx); in ce_aes_expandkey()
/linux-4.1.27/arch/arm/crypto/
Daes-ce-glue.c51 static int num_rounds(struct crypto_aes_ctx *ctx) in num_rounds() function
119 j = num_rounds(ctx); in ce_aes_expandkey()
181 (u8 *)ctx->key_enc, num_rounds(ctx), blocks); in ecb_encrypt()
204 (u8 *)ctx->key_dec, num_rounds(ctx), blocks); in ecb_decrypt()
227 (u8 *)ctx->key_enc, num_rounds(ctx), blocks, in cbc_encrypt()
251 (u8 *)ctx->key_dec, num_rounds(ctx), blocks, in cbc_decrypt()
274 (u8 *)ctx->key_enc, num_rounds(ctx), blocks, in ctr_encrypt()
294 num_rounds(ctx), blocks, walk.iv); in ctr_encrypt()
307 int err, first, rounds = num_rounds(&ctx->key1); in xts_encrypt()
332 int err, first, rounds = num_rounds(&ctx->key1); in xts_decrypt()