Lines Matching refs:src
44 static int t_fromb64(unsigned char *a, size_t alen, const char *src)
51 while (*src == ' ' || *src == '\t' || *src == '\n')
52 ++src;
53 size = strlen(src);
57 /* Four bytes in src become three bytes output. */
91 if (EVP_DecodeUpdate(ctx, a, &outl2, (const unsigned char *)src, size) < 0) {
133 static int t_tob64(char *dst, const unsigned char *src, int size)
160 if (!EVP_EncodeUpdate(ctx, (unsigned char *)dst + outl, &outl2, src,
262 static SRP_user_pwd *srp_user_pwd_dup(SRP_user_pwd *src)
266 if (src == NULL)
271 SRP_user_pwd_set_gN(ret, src->g, src->N);
272 if (!SRP_user_pwd_set1_ids(ret, src->id, src->info)
273 || !SRP_user_pwd_set0_sv(ret, BN_dup(src->s), BN_dup(src->v))) {