/arch/x86/crypto/ |
D | twofish_avx2_glue.c | 208 static void encrypt_callback(void *priv, u8 *srcdst, unsigned int nbytes) in encrypt_callback() argument 217 twofish_ecb_enc_16way(ctx->ctx, srcdst, srcdst); in encrypt_callback() 218 srcdst += bsize * TF_AVX2_PARALLEL_BLOCKS; in encrypt_callback() 223 twofish_ecb_enc_8way(ctx->ctx, srcdst, srcdst); in encrypt_callback() 224 srcdst += bsize * 8; in encrypt_callback() 229 twofish_enc_blk_3way(ctx->ctx, srcdst, srcdst); in encrypt_callback() 230 srcdst += bsize * 3; in encrypt_callback() 234 for (i = 0; i < nbytes / bsize; i++, srcdst += bsize) in encrypt_callback() 235 twofish_enc_blk(ctx->ctx, srcdst, srcdst); in encrypt_callback() 238 static void decrypt_callback(void *priv, u8 *srcdst, unsigned int nbytes) in decrypt_callback() argument [all …]
|
D | camellia_aesni_avx2_glue.c | 210 static void encrypt_callback(void *priv, u8 *srcdst, unsigned int nbytes) in encrypt_callback() argument 219 camellia_ecb_enc_32way(ctx->ctx, srcdst, srcdst); in encrypt_callback() 220 srcdst += bsize * CAMELLIA_AESNI_AVX2_PARALLEL_BLOCKS; in encrypt_callback() 225 camellia_ecb_enc_16way(ctx->ctx, srcdst, srcdst); in encrypt_callback() 226 srcdst += bsize * CAMELLIA_AESNI_PARALLEL_BLOCKS; in encrypt_callback() 231 camellia_enc_blk_2way(ctx->ctx, srcdst, srcdst); in encrypt_callback() 232 srcdst += bsize * CAMELLIA_PARALLEL_BLOCKS; in encrypt_callback() 236 for (i = 0; i < nbytes / bsize; i++, srcdst += bsize) in encrypt_callback() 237 camellia_enc_blk(ctx->ctx, srcdst, srcdst); in encrypt_callback() 240 static void decrypt_callback(void *priv, u8 *srcdst, unsigned int nbytes) in decrypt_callback() argument [all …]
|
D | serpent_avx2_glue.c | 188 static void encrypt_callback(void *priv, u8 *srcdst, unsigned int nbytes) in encrypt_callback() argument 197 serpent_ecb_enc_16way(ctx->ctx, srcdst, srcdst); in encrypt_callback() 198 srcdst += bsize * SERPENT_AVX2_PARALLEL_BLOCKS; in encrypt_callback() 203 serpent_ecb_enc_8way_avx(ctx->ctx, srcdst, srcdst); in encrypt_callback() 204 srcdst += bsize * SERPENT_PARALLEL_BLOCKS; in encrypt_callback() 208 for (i = 0; i < nbytes / bsize; i++, srcdst += bsize) in encrypt_callback() 209 __serpent_encrypt(ctx->ctx, srcdst, srcdst); in encrypt_callback() 212 static void decrypt_callback(void *priv, u8 *srcdst, unsigned int nbytes) in decrypt_callback() argument 221 serpent_ecb_dec_16way(ctx->ctx, srcdst, srcdst); in decrypt_callback() 222 srcdst += bsize * SERPENT_AVX2_PARALLEL_BLOCKS; in decrypt_callback() [all …]
|
D | camellia_aesni_avx_glue.c | 214 static void encrypt_callback(void *priv, u8 *srcdst, unsigned int nbytes) in encrypt_callback() argument 223 camellia_ecb_enc_16way(ctx->ctx, srcdst, srcdst); in encrypt_callback() 224 srcdst += bsize * CAMELLIA_AESNI_PARALLEL_BLOCKS; in encrypt_callback() 229 camellia_enc_blk_2way(ctx->ctx, srcdst, srcdst); in encrypt_callback() 230 srcdst += bsize * CAMELLIA_PARALLEL_BLOCKS; in encrypt_callback() 234 for (i = 0; i < nbytes / bsize; i++, srcdst += bsize) in encrypt_callback() 235 camellia_enc_blk(ctx->ctx, srcdst, srcdst); in encrypt_callback() 238 static void decrypt_callback(void *priv, u8 *srcdst, unsigned int nbytes) in decrypt_callback() argument 247 camellia_ecb_dec_16way(ctx->ctx, srcdst, srcdst); in decrypt_callback() 248 srcdst += bsize * CAMELLIA_AESNI_PARALLEL_BLOCKS; in decrypt_callback() [all …]
|
D | twofish_avx_glue.c | 233 static void encrypt_callback(void *priv, u8 *srcdst, unsigned int nbytes) in encrypt_callback() argument 242 twofish_ecb_enc_8way(ctx->ctx, srcdst, srcdst); in encrypt_callback() 246 for (i = 0; i < nbytes / (bsize * 3); i++, srcdst += bsize * 3) in encrypt_callback() 247 twofish_enc_blk_3way(ctx->ctx, srcdst, srcdst); in encrypt_callback() 251 for (i = 0; i < nbytes / bsize; i++, srcdst += bsize) in encrypt_callback() 252 twofish_enc_blk(ctx->ctx, srcdst, srcdst); in encrypt_callback() 255 static void decrypt_callback(void *priv, u8 *srcdst, unsigned int nbytes) in decrypt_callback() argument 264 twofish_ecb_dec_8way(ctx->ctx, srcdst, srcdst); in decrypt_callback() 268 for (i = 0; i < nbytes / (bsize * 3); i++, srcdst += bsize * 3) in decrypt_callback() 269 twofish_dec_blk_3way(ctx->ctx, srcdst, srcdst); in decrypt_callback() [all …]
|
D | twofish_glue_3way.c | 186 static void encrypt_callback(void *priv, u8 *srcdst, unsigned int nbytes) in encrypt_callback() argument 193 twofish_enc_blk_3way(ctx, srcdst, srcdst); in encrypt_callback() 197 for (i = 0; i < nbytes / bsize; i++, srcdst += bsize) in encrypt_callback() 198 twofish_enc_blk(ctx, srcdst, srcdst); in encrypt_callback() 201 static void decrypt_callback(void *priv, u8 *srcdst, unsigned int nbytes) in decrypt_callback() argument 208 twofish_dec_blk_3way(ctx, srcdst, srcdst); in decrypt_callback() 212 for (i = 0; i < nbytes / bsize; i++, srcdst += bsize) in decrypt_callback() 213 twofish_dec_blk(ctx, srcdst, srcdst); in decrypt_callback()
|
D | serpent_sse2_glue.c | 190 static void encrypt_callback(void *priv, u8 *srcdst, unsigned int nbytes) in encrypt_callback() argument 199 serpent_enc_blk_xway(ctx->ctx, srcdst, srcdst); in encrypt_callback() 203 for (i = 0; i < nbytes / bsize; i++, srcdst += bsize) in encrypt_callback() 204 __serpent_encrypt(ctx->ctx, srcdst, srcdst); in encrypt_callback() 207 static void decrypt_callback(void *priv, u8 *srcdst, unsigned int nbytes) in decrypt_callback() argument 216 serpent_dec_blk_xway(ctx->ctx, srcdst, srcdst); in decrypt_callback() 220 for (i = 0; i < nbytes / bsize; i++, srcdst += bsize) in decrypt_callback() 221 __serpent_decrypt(ctx->ctx, srcdst, srcdst); in decrypt_callback()
|
D | cast6_avx_glue.c | 209 static void encrypt_callback(void *priv, u8 *srcdst, unsigned int nbytes) in encrypt_callback() argument 218 cast6_ecb_enc_8way(ctx->ctx, srcdst, srcdst); in encrypt_callback() 222 for (i = 0; i < nbytes / bsize; i++, srcdst += bsize) in encrypt_callback() 223 __cast6_encrypt(ctx->ctx, srcdst, srcdst); in encrypt_callback() 226 static void decrypt_callback(void *priv, u8 *srcdst, unsigned int nbytes) in decrypt_callback() argument 235 cast6_ecb_dec_8way(ctx->ctx, srcdst, srcdst); in decrypt_callback() 239 for (i = 0; i < nbytes / bsize; i++, srcdst += bsize) in decrypt_callback() 240 __cast6_decrypt(ctx->ctx, srcdst, srcdst); in decrypt_callback()
|
D | serpent_avx_glue.c | 222 static void encrypt_callback(void *priv, u8 *srcdst, unsigned int nbytes) in encrypt_callback() argument 231 serpent_ecb_enc_8way_avx(ctx->ctx, srcdst, srcdst); in encrypt_callback() 235 for (i = 0; i < nbytes / bsize; i++, srcdst += bsize) in encrypt_callback() 236 __serpent_encrypt(ctx->ctx, srcdst, srcdst); in encrypt_callback() 239 static void decrypt_callback(void *priv, u8 *srcdst, unsigned int nbytes) in decrypt_callback() argument 248 serpent_ecb_dec_8way_avx(ctx->ctx, srcdst, srcdst); in decrypt_callback() 252 for (i = 0; i < nbytes / bsize; i++, srcdst += bsize) in decrypt_callback() 253 __serpent_decrypt(ctx->ctx, srcdst, srcdst); in decrypt_callback()
|
D | camellia_glue.c | 1408 static void encrypt_callback(void *priv, u8 *srcdst, unsigned int nbytes) in encrypt_callback() argument 1415 camellia_enc_blk_2way(ctx, srcdst, srcdst); in encrypt_callback() 1416 srcdst += bsize * 2; in encrypt_callback() 1420 for (i = 0; i < nbytes / bsize; i++, srcdst += bsize) in encrypt_callback() 1421 camellia_enc_blk(ctx, srcdst, srcdst); in encrypt_callback() 1424 static void decrypt_callback(void *priv, u8 *srcdst, unsigned int nbytes) in decrypt_callback() argument 1431 camellia_dec_blk_2way(ctx, srcdst, srcdst); in decrypt_callback() 1432 srcdst += bsize * 2; in decrypt_callback() 1436 for (i = 0; i < nbytes / bsize; i++, srcdst += bsize) in decrypt_callback() 1437 camellia_dec_blk(ctx, srcdst, srcdst); in decrypt_callback()
|
/arch/parisc/math-emu/ |
D | sgl_float.h | 47 #define Sgl_clear_exponent_set_hidden(srcdst) Deposit_sexponent(srcdst,1) argument 48 #define Sgl_clear_signexponent_set_hidden(srcdst) \ argument 49 Deposit_ssignexponent(srcdst,1) 50 #define Sgl_clear_sign(srcdst) Sall(srcdst) &= ~((unsigned int)1<<31) argument 51 #define Sgl_clear_signexponent(srcdst) Sall(srcdst) &= 0x007fffff argument 54 #define Sgl_rightshift(srcdst, varamount) \ argument 55 Sall(srcdst) >>= varamount 56 #define Sgl_leftshift(srcdst, varamount) \ argument 57 Sall(srcdst) <<= varamount 58 #define Sgl_rightshift_exponentmantissa(srcdst, varamount) \ argument [all …]
|
D | dbl_float.h | 48 #define Dbl_clear_exponent_set_hidden(srcdst) Deposit_dexponent(srcdst,1) argument 49 #define Dbl_clear_signexponent_set_hidden(srcdst) \ argument 50 Deposit_dsignexponent(srcdst,1) 51 #define Dbl_clear_sign(srcdst) Dallp1(srcdst) &= ~((unsigned int)1<<31) argument 52 #define Dbl_clear_signexponent(srcdst) \ argument 53 Dallp1(srcdst) &= Dmantissap1((unsigned int)-1) 736 #define Dblext_clear_signexponent_set_hidden(srcdst) \ argument 737 Dbl_clear_signexponent_set_hidden(srcdst) 738 #define Dblext_clear_signexponent(srcdst) Dbl_clear_signexponent(srcdst) argument 739 #define Dblext_clear_sign(srcdst) Dbl_clear_sign(srcdst) argument
|