Lines Matching refs:dst_t_func
72 static dst_func_t *dst_t_func[DST_MAX_ALGS];
178 memset(dst_t_func, 0, sizeof(dst_t_func));
179 RETERR(dst__hmacmd5_init(&dst_t_func[DST_ALG_HMACMD5]));
180 RETERR(dst__hmacsha1_init(&dst_t_func[DST_ALG_HMACSHA1]));
181 RETERR(dst__hmacsha224_init(&dst_t_func[DST_ALG_HMACSHA224]));
182 RETERR(dst__hmacsha256_init(&dst_t_func[DST_ALG_HMACSHA256]));
183 RETERR(dst__hmacsha384_init(&dst_t_func[DST_ALG_HMACSHA384]));
184 RETERR(dst__hmacsha512_init(&dst_t_func[DST_ALG_HMACSHA512]));
187 RETERR(dst__opensslrsa_init(&dst_t_func[DST_ALG_RSAMD5],
189 RETERR(dst__opensslrsa_init(&dst_t_func[DST_ALG_RSASHA1],
191 RETERR(dst__opensslrsa_init(&dst_t_func[DST_ALG_NSEC3RSASHA1],
193 RETERR(dst__opensslrsa_init(&dst_t_func[DST_ALG_RSASHA256],
195 RETERR(dst__opensslrsa_init(&dst_t_func[DST_ALG_RSASHA512],
198 RETERR(dst__openssldsa_init(&dst_t_func[DST_ALG_DSA]));
199 RETERR(dst__openssldsa_init(&dst_t_func[DST_ALG_NSEC3DSA]));
201 RETERR(dst__openssldh_init(&dst_t_func[DST_ALG_DH]));
204 RETERR(dst__gssapi_init(&dst_t_func[DST_ALG_GSSAPI]));
221 if (dst_t_func[i] != NULL && dst_t_func[i]->cleanup != NULL)
222 dst_t_func[i]->cleanup();
237 if (alg >= DST_MAX_ALGS || dst_t_func[alg] == NULL)
984 key->func = dst_t_func[alg];