Home
last modified time | relevance | path

Searched refs:pass_len (Results 1 – 11 of 11) sorted by relevance

/openssl/crypto/
H A Dpassphrase.c189 *pass_len = (size_t)res; in do_ui_passphrase()
190 memcpy(pass, ipass, *pass_len); in do_ui_passphrase()
231 *pass_len = source_len; in ossl_pw_get_passphrase()
288 || *pass_len > data->cached_passphrase_len) { in ossl_pw_get_passphrase()
292 *pass_len + 1); in ossl_pw_get_passphrase()
295 OPENSSL_cleanse(pass, *pass_len); in ossl_pw_get_passphrase()
300 memcpy(data->cached_passphrase, pass, *pass_len); in ossl_pw_get_passphrase()
301 data->cached_passphrase[*pass_len] = '\0'; in ossl_pw_get_passphrase()
302 data->cached_passphrase_len = *pass_len; in ossl_pw_get_passphrase()
335 size_t *pass_len, in ossl_pw_passphrase_callback_enc() argument
[all …]
/openssl/providers/implementations/kdfs/
H A Dpvkkdf.c33 size_t pass_len; member
60 OPENSSL_clear_free(ctx->pass, ctx->pass_len); in kdf_pvk_cleanup()
83 || !ossl_prov_memdup(src->pass, src->pass_len, in kdf_pvk_dup()
84 &dest->pass , &dest->pass_len) in kdf_pvk_dup()
173 && EVP_DigestUpdate(mctx, ctx->pass, ctx->pass_len) in kdf_pvk_derive()
192 if (!pvk_set_membuf(&ctx->pass, &ctx->pass_len, p)) in kdf_pvk_set_ctx_params()
H A Dpbkdf1.c40 size_t pass_len; member
115 OPENSSL_clear_free(ctx->pass, ctx->pass_len); in kdf_pbkdf1_cleanup()
147 || !ossl_prov_memdup(src->pass, src->pass_len, in kdf_pbkdf1_dup()
148 &dest->pass , &dest->pass_len) in kdf_pbkdf1_dup()
197 return kdf_pbkdf1_do_derive(ctx->pass, ctx->pass_len, ctx->salt, ctx->salt_len, in kdf_pbkdf1_derive()
211 if (!kdf_pbkdf1_set_membuf(&ctx->pass, &ctx->pass_len, p)) in kdf_pbkdf1_set_ctx_params()
H A Dpkcs12kdf.c40 size_t pass_len; member
155 OPENSSL_clear_free(ctx->pass, ctx->pass_len); in kdf_pkcs12_cleanup()
187 || !ossl_prov_memdup(src->pass, src->pass_len, in kdf_pkcs12_dup()
188 &dest->pass , &dest->pass_len) in kdf_pkcs12_dup()
238 return pkcs12kdf_derive(ctx->pass, ctx->pass_len, ctx->salt, ctx->salt_len, in kdf_pkcs12_derive()
255 if (!pkcs12kdf_set_membuf(&ctx->pass, &ctx->pass_len, p)) in kdf_pkcs12_set_ctx_params()
H A Dpbkdf2.c53 size_t pass_len; member
101 OPENSSL_clear_free(ctx->pass, ctx->pass_len); in kdf_pbkdf2_cleanup()
135 || !ossl_prov_memdup(src->pass, src->pass_len, in kdf_pbkdf2_dup()
136 &dest->pass, &dest->pass_len) in kdf_pbkdf2_dup()
248 return pbkdf2_derive(ctx, (char *)ctx->pass, ctx->pass_len, in kdf_pbkdf2_derive()
287 if (!pbkdf2_set_membuf(&ctx->pass, &ctx->pass_len, p)) in kdf_pbkdf2_set_ctx_params()
H A Dscrypt.c47 size_t pass_len; member
95 OPENSSL_clear_free(ctx->pass, ctx->pass_len); in kdf_scrypt_reset()
115 || !ossl_prov_memdup(src->pass, src->pass_len, in kdf_scrypt_dup()
116 &dest->pass , &dest->pass_len)) in kdf_scrypt_dup()
205 return scrypt_alg((char *)ctx->pass, ctx->pass_len, ctx->salt, in kdf_scrypt_derive()
226 if (!scrypt_set_membuf(&ctx->pass, &ctx->pass_len, p)) in kdf_scrypt_set_ctx_params()
/openssl/doc/man3/
H A DOSSL_CALLBACK.pod12 size_t *pass_len,
44 I<*pass_len>.
/openssl/include/openssl/
H A Dcore.h229 size_t *pass_len,
/openssl/include/internal/
H A Dpassphrase.h105 int ossl_pw_get_passphrase(char *pass, size_t pass_size, size_t *pass_len,
/openssl/doc/designs/
H A Dfast-param-find.md27 if (!scrypt_set_membuf(&ctx->pass, &ctx->pass_len, p))
190 if (!scrypt_set_membuf(&ctx->pass, &ctx->pass_len, p))
286 if (!scrypt_set_membuf(&ctx->pass, &ctx->pass_len, p))
/openssl/test/
H A Devp_test.c2882 size_t pass_len; member
3010 return parse_bin(value, &pdata->pass, &pdata->pass_len); in pbe_test_parse()
3040 if (PKCS5_PBKDF2_HMAC((char *)expected->pass, expected->pass_len, in pbe_test_run()
3049 if (EVP_PBE_scrypt((const char *)expected->pass, expected->pass_len, in pbe_test_run()
3064 if (PKCS12_key_gen_uni(expected->pass, expected->pass_len, in pbe_test_run()

Completed in 26 milliseconds