safexcel_alg_template
static struct safexcel_alg_template *safexcel_algs[] = {
extern struct safexcel_alg_template safexcel_alg_ecb_des;
extern struct safexcel_alg_template safexcel_alg_cbc_des;
extern struct safexcel_alg_template safexcel_alg_ecb_des3_ede;
extern struct safexcel_alg_template safexcel_alg_cbc_des3_ede;
extern struct safexcel_alg_template safexcel_alg_ecb_aes;
extern struct safexcel_alg_template safexcel_alg_cbc_aes;
extern struct safexcel_alg_template safexcel_alg_ctr_aes;
extern struct safexcel_alg_template safexcel_alg_md5;
extern struct safexcel_alg_template safexcel_alg_sha1;
extern struct safexcel_alg_template safexcel_alg_sha224;
extern struct safexcel_alg_template safexcel_alg_sha256;
extern struct safexcel_alg_template safexcel_alg_sha384;
extern struct safexcel_alg_template safexcel_alg_sha512;
extern struct safexcel_alg_template safexcel_alg_hmac_md5;
extern struct safexcel_alg_template safexcel_alg_hmac_sha1;
extern struct safexcel_alg_template safexcel_alg_hmac_sha224;
extern struct safexcel_alg_template safexcel_alg_hmac_sha256;
extern struct safexcel_alg_template safexcel_alg_hmac_sha384;
extern struct safexcel_alg_template safexcel_alg_hmac_sha512;
extern struct safexcel_alg_template safexcel_alg_authenc_hmac_sha1_cbc_aes;
extern struct safexcel_alg_template safexcel_alg_authenc_hmac_sha224_cbc_aes;
extern struct safexcel_alg_template safexcel_alg_authenc_hmac_sha256_cbc_aes;
extern struct safexcel_alg_template safexcel_alg_authenc_hmac_sha384_cbc_aes;
extern struct safexcel_alg_template safexcel_alg_authenc_hmac_sha512_cbc_aes;
extern struct safexcel_alg_template safexcel_alg_authenc_hmac_sha1_cbc_des3_ede;
extern struct safexcel_alg_template safexcel_alg_authenc_hmac_sha1_ctr_aes;
extern struct safexcel_alg_template safexcel_alg_authenc_hmac_sha224_ctr_aes;
extern struct safexcel_alg_template safexcel_alg_authenc_hmac_sha256_ctr_aes;
extern struct safexcel_alg_template safexcel_alg_authenc_hmac_sha384_ctr_aes;
extern struct safexcel_alg_template safexcel_alg_authenc_hmac_sha512_ctr_aes;
extern struct safexcel_alg_template safexcel_alg_xts_aes;
extern struct safexcel_alg_template safexcel_alg_gcm;
extern struct safexcel_alg_template safexcel_alg_ccm;
extern struct safexcel_alg_template safexcel_alg_cbcmac;
extern struct safexcel_alg_template safexcel_alg_xcbcmac;
extern struct safexcel_alg_template safexcel_alg_cmac;
extern struct safexcel_alg_template safexcel_alg_chacha20;
extern struct safexcel_alg_template safexcel_alg_chachapoly;
extern struct safexcel_alg_template safexcel_alg_chachapoly_esp;
extern struct safexcel_alg_template safexcel_alg_sm3;
extern struct safexcel_alg_template safexcel_alg_hmac_sm3;
extern struct safexcel_alg_template safexcel_alg_ecb_sm4;
extern struct safexcel_alg_template safexcel_alg_cbc_sm4;
extern struct safexcel_alg_template safexcel_alg_ctr_sm4;
extern struct safexcel_alg_template safexcel_alg_authenc_hmac_sha1_cbc_sm4;
extern struct safexcel_alg_template safexcel_alg_authenc_hmac_sm3_cbc_sm4;
extern struct safexcel_alg_template safexcel_alg_authenc_hmac_sha1_ctr_sm4;
extern struct safexcel_alg_template safexcel_alg_authenc_hmac_sm3_ctr_sm4;
extern struct safexcel_alg_template safexcel_alg_sha3_224;
extern struct safexcel_alg_template safexcel_alg_sha3_256;
extern struct safexcel_alg_template safexcel_alg_sha3_384;
extern struct safexcel_alg_template safexcel_alg_sha3_512;
extern struct safexcel_alg_template safexcel_alg_hmac_sha3_224;
extern struct safexcel_alg_template safexcel_alg_hmac_sha3_256;
extern struct safexcel_alg_template safexcel_alg_hmac_sha3_384;
extern struct safexcel_alg_template safexcel_alg_hmac_sha3_512;
extern struct safexcel_alg_template safexcel_alg_authenc_hmac_sha1_cbc_des;
extern struct safexcel_alg_template safexcel_alg_authenc_hmac_sha256_cbc_des3_ede;
extern struct safexcel_alg_template safexcel_alg_authenc_hmac_sha224_cbc_des3_ede;
extern struct safexcel_alg_template safexcel_alg_authenc_hmac_sha512_cbc_des3_ede;
extern struct safexcel_alg_template safexcel_alg_authenc_hmac_sha384_cbc_des3_ede;
extern struct safexcel_alg_template safexcel_alg_authenc_hmac_sha256_cbc_des;
extern struct safexcel_alg_template safexcel_alg_authenc_hmac_sha224_cbc_des;
extern struct safexcel_alg_template safexcel_alg_authenc_hmac_sha512_cbc_des;
extern struct safexcel_alg_template safexcel_alg_authenc_hmac_sha384_cbc_des;
extern struct safexcel_alg_template safexcel_alg_rfc4106_gcm;
extern struct safexcel_alg_template safexcel_alg_rfc4543_gcm;
extern struct safexcel_alg_template safexcel_alg_rfc4309_ccm;
struct safexcel_alg_template *tmpl =
container_of(tfm->__crt_alg, struct safexcel_alg_template,
struct safexcel_alg_template safexcel_alg_ecb_aes = {
struct safexcel_alg_template safexcel_alg_cbc_aes = {
struct safexcel_alg_template safexcel_alg_ctr_aes = {
struct safexcel_alg_template safexcel_alg_cbc_des = {
struct safexcel_alg_template safexcel_alg_ecb_des = {
struct safexcel_alg_template safexcel_alg_cbc_des3_ede = {
struct safexcel_alg_template safexcel_alg_ecb_des3_ede = {
struct safexcel_alg_template *tmpl =
container_of(tfm->__crt_alg, struct safexcel_alg_template,
struct safexcel_alg_template safexcel_alg_authenc_hmac_sha1_cbc_aes = {
struct safexcel_alg_template safexcel_alg_authenc_hmac_sha256_cbc_aes = {
struct safexcel_alg_template safexcel_alg_authenc_hmac_sha224_cbc_aes = {
struct safexcel_alg_template safexcel_alg_authenc_hmac_sha512_cbc_aes = {
struct safexcel_alg_template safexcel_alg_authenc_hmac_sha384_cbc_aes = {
struct safexcel_alg_template safexcel_alg_authenc_hmac_sha1_cbc_des3_ede = {
struct safexcel_alg_template safexcel_alg_authenc_hmac_sha256_cbc_des3_ede = {
struct safexcel_alg_template safexcel_alg_authenc_hmac_sha224_cbc_des3_ede = {
struct safexcel_alg_template safexcel_alg_authenc_hmac_sha512_cbc_des3_ede = {
struct safexcel_alg_template safexcel_alg_authenc_hmac_sha384_cbc_des3_ede = {
struct safexcel_alg_template safexcel_alg_authenc_hmac_sha1_cbc_des = {
struct safexcel_alg_template safexcel_alg_authenc_hmac_sha256_cbc_des = {
struct safexcel_alg_template safexcel_alg_authenc_hmac_sha224_cbc_des = {
struct safexcel_alg_template safexcel_alg_authenc_hmac_sha512_cbc_des = {
struct safexcel_alg_template safexcel_alg_authenc_hmac_sha384_cbc_des = {
struct safexcel_alg_template safexcel_alg_authenc_hmac_sha1_ctr_aes = {
struct safexcel_alg_template safexcel_alg_authenc_hmac_sha256_ctr_aes = {
struct safexcel_alg_template safexcel_alg_authenc_hmac_sha224_ctr_aes = {
struct safexcel_alg_template safexcel_alg_authenc_hmac_sha512_ctr_aes = {
struct safexcel_alg_template safexcel_alg_authenc_hmac_sha384_ctr_aes = {
struct safexcel_alg_template safexcel_alg_xts_aes = {
struct safexcel_alg_template safexcel_alg_gcm = {
struct safexcel_alg_template safexcel_alg_ccm = {
struct safexcel_alg_template safexcel_alg_chacha20 = {
struct safexcel_alg_template safexcel_alg_chachapoly = {
struct safexcel_alg_template safexcel_alg_chachapoly_esp = {
struct safexcel_alg_template safexcel_alg_ecb_sm4 = {
struct safexcel_alg_template safexcel_alg_cbc_sm4 = {
struct safexcel_alg_template safexcel_alg_ctr_sm4 = {
struct safexcel_alg_template safexcel_alg_authenc_hmac_sha1_cbc_sm4 = {
struct safexcel_alg_template safexcel_alg_authenc_hmac_sm3_cbc_sm4 = {
struct safexcel_alg_template safexcel_alg_authenc_hmac_sha1_ctr_sm4 = {
struct safexcel_alg_template safexcel_alg_authenc_hmac_sm3_ctr_sm4 = {
struct safexcel_alg_template safexcel_alg_rfc4106_gcm = {
struct safexcel_alg_template safexcel_alg_rfc4543_gcm = {
struct safexcel_alg_template safexcel_alg_rfc4309_ccm = {
struct safexcel_alg_template safexcel_alg_hmac_sha1 = {
struct safexcel_alg_template safexcel_alg_sha256 = {
struct safexcel_alg_template safexcel_alg_sha224 = {
struct safexcel_alg_template safexcel_alg_hmac_sha224 = {
struct safexcel_alg_template safexcel_alg_hmac_sha256 = {
struct safexcel_alg_template safexcel_alg_sha512 = {
struct safexcel_alg_template safexcel_alg_sha384 = {
struct safexcel_alg_template safexcel_alg_hmac_sha512 = {
struct safexcel_alg_template safexcel_alg_hmac_sha384 = {
struct safexcel_alg_template safexcel_alg_md5 = {
struct safexcel_alg_template safexcel_alg_hmac_md5 = {
struct safexcel_alg_template safexcel_alg_cbcmac = {
struct safexcel_alg_template safexcel_alg_xcbcmac = {
struct safexcel_alg_template safexcel_alg_cmac = {
struct safexcel_alg_template safexcel_alg_sm3 = {
struct safexcel_alg_template safexcel_alg_hmac_sm3 = {
struct safexcel_alg_template safexcel_alg_sha3_224 = {
struct safexcel_alg_template safexcel_alg_sha3_256 = {
struct safexcel_alg_template safexcel_alg_sha3_384 = {
struct safexcel_alg_template safexcel_alg_sha3_512 = {
struct safexcel_alg_template safexcel_alg_hmac_sha3_224 = {
struct safexcel_alg_template safexcel_alg_hmac_sha3_256 = {
struct safexcel_alg_template safexcel_alg_hmac_sha3_384 = {
struct safexcel_alg_template safexcel_alg_hmac_sha3_512 = {
struct safexcel_alg_template *tmpl =
struct safexcel_alg_template, alg.ahash);
struct safexcel_alg_template safexcel_alg_sha1 = {