Lines Matching refs:src
44 static int t_fromb64(unsigned char *a, size_t alen, const char *src) in t_fromb64() argument
51 while (*src == ' ' || *src == '\t' || *src == '\n') in t_fromb64()
52 ++src; in t_fromb64()
53 size = strlen(src); in t_fromb64()
91 if (EVP_DecodeUpdate(ctx, a, &outl2, (const unsigned char *)src, size) < 0) { in t_fromb64()
133 static int t_tob64(char *dst, const unsigned char *src, int size) in t_tob64() argument
160 if (!EVP_EncodeUpdate(ctx, (unsigned char *)dst + outl, &outl2, src, in t_tob64()
260 static SRP_user_pwd *srp_user_pwd_dup(SRP_user_pwd *src) in srp_user_pwd_dup() argument
264 if (src == NULL) in srp_user_pwd_dup()
269 SRP_user_pwd_set_gN(ret, src->g, src->N); in srp_user_pwd_dup()
270 if (!SRP_user_pwd_set1_ids(ret, src->id, src->info) in srp_user_pwd_dup()
271 || !SRP_user_pwd_set0_sv(ret, BN_dup(src->s), BN_dup(src->v))) { in srp_user_pwd_dup()