Searched defs:pass_len (Results 1 - 1 of 1) sorted by relevance
/external/boringssl/src/crypto/pkcs8/ |
H A D | pkcs8.c | 314 * NUL-terminated string if |pass_len| is -1, otherwise it is treated as a 321 static int pass_to_pass_raw(int pbe_nid, const char *pass, int pass_len, argument 329 if (pass_len == -1) { 330 pass_len = strlen(pass); 331 } else if (pass_len < 0 || pass_len > 2000000000) { 338 if (!ascii_to_ucs2(pass, pass_len, out_pass_raw, out_pass_raw_len)) { 343 *out_pass_raw = BUF_memdup(pass, pass_len); 348 *out_pass_raw_len = (size_t)pass_len; 479 int pass_len) { 478 PKCS8_decrypt(X509_SIG *pkcs8, const char *pass, int pass_len) argument 534 PKCS8_encrypt(int pbe_nid, const EVP_CIPHER *cipher, const char *pass, int pass_len, uint8_t *salt, size_t salt_len, int iterations, PKCS8_PRIV_KEY_INFO *p8inf) argument [all...] |
Completed in 79 milliseconds