Lines Matching full:suffix
748 #define DEFINE_AVX_SKCIPHER_ALGS(suffix, driver_name_suffix, priority) \ argument
751 aes_xts_encrypt_##suffix(const struct crypto_aes_ctx *key, const u8 *src, \
754 aes_xts_decrypt_##suffix(const struct crypto_aes_ctx *key, const u8 *src, \
757 static int xts_encrypt_##suffix(struct skcipher_request *req) \
759 return xts_crypt(req, aes_xts_encrypt_iv, aes_xts_encrypt_##suffix); \
762 static int xts_decrypt_##suffix(struct skcipher_request *req) \
764 return xts_crypt(req, aes_xts_encrypt_iv, aes_xts_decrypt_##suffix); \
768 aes_ctr64_crypt_##suffix(const struct crypto_aes_ctx *key, \
771 static int ctr_crypt_##suffix(struct skcipher_request *req) \
773 return ctr_crypt(req, aes_ctr64_crypt_##suffix); \
777 aes_xctr_crypt_##suffix(const struct crypto_aes_ctx *key, \
781 static int xctr_crypt_##suffix(struct skcipher_request *req) \
783 return xctr_crypt(req, aes_xctr_crypt_##suffix); \
786 static struct skcipher_alg skcipher_algs_##suffix[] = {{ \
798 .encrypt = xts_encrypt_##suffix, \
799 .decrypt = xts_decrypt_##suffix, \
812 .encrypt = ctr_crypt_##suffix, \
813 .decrypt = ctr_crypt_##suffix, \
826 .encrypt = xctr_crypt_##suffix, \
827 .decrypt = xctr_crypt_##suffix, \
1432 #define DEFINE_GCM_ALGS(suffix, flags, generic_driver_name, rfc_driver_name, \ argument
1435 static int gcm_setkey_##suffix(struct crypto_aead *tfm, const u8 *raw_key, \
1441 static int gcm_encrypt_##suffix(struct aead_request *req) \
1446 static int gcm_decrypt_##suffix(struct aead_request *req) \
1451 static int rfc4106_setkey_##suffix(struct crypto_aead *tfm, const u8 *raw_key, \
1457 static int rfc4106_encrypt_##suffix(struct aead_request *req) \
1462 static int rfc4106_decrypt_##suffix(struct aead_request *req) \
1467 static struct aead_alg aes_gcm_algs_##suffix[] = { { \
1468 .setkey = gcm_setkey_##suffix, \
1470 .encrypt = gcm_encrypt_##suffix, \
1471 .decrypt = gcm_decrypt_##suffix, \
1484 .setkey = rfc4106_setkey_##suffix, \
1486 .encrypt = rfc4106_encrypt_##suffix, \
1487 .decrypt = rfc4106_decrypt_##suffix, \