Lines Matching refs:saltlen
29 const unsigned char *salt, int saltlen,
48 if (!saltlen)
49 saltlen = PKCS5_DEFAULT_PBE1_SALT_LEN;
50 if (saltlen < 0)
53 sstr = OPENSSL_malloc(saltlen);
57 memcpy(sstr, salt, saltlen);
58 else if (RAND_bytes_ex(ctx, sstr, saltlen, 0) <= 0)
61 ASN1_STRING_set0(pbe->salt, sstr, saltlen);
83 const unsigned char *salt, int saltlen) in PKCS5_pbe_set0_algor() argument
85 return PKCS5_pbe_set0_algor_ex(algor, alg, iter, salt, saltlen, NULL); in PKCS5_pbe_set0_algor()
91 const unsigned char *salt, int saltlen, in PKCS5_pbe_set_ex() argument
101 if (PKCS5_pbe_set0_algor_ex(ret, alg, iter, salt, saltlen, ctx)) in PKCS5_pbe_set_ex()
109 const unsigned char *salt, int saltlen) in PKCS5_pbe_set() argument
111 return PKCS5_pbe_set_ex(alg, iter, salt, saltlen, NULL); in PKCS5_pbe_set()