/openthread-latest/third_party/mbedtls/repo/library/ |
D | pkcs12.c | 77 const unsigned char *pwd, size_t pwdlen, in pkcs12_pbe_derive_key_iv() argument 86 if (pwdlen > PKCS12_MAX_PWDLEN) { in pkcs12_pbe_derive_key_iv() 98 for (i = 0; i < pwdlen; i++) { in pkcs12_pbe_derive_key_iv() 102 if ((ret = mbedtls_pkcs12_derivation(key, keylen, unipwd, pwdlen * 2 + 2, in pkcs12_pbe_derive_key_iv() 112 if ((ret = mbedtls_pkcs12_derivation(iv, ivlen, unipwd, pwdlen * 2 + 2, in pkcs12_pbe_derive_key_iv() 125 const unsigned char *pwd, size_t pwdlen, 134 const unsigned char *pwd, size_t pwdlen, in mbedtls_pkcs12_pbe() argument 145 pwd, pwdlen, data, len, output, SIZE_MAX, in mbedtls_pkcs12_pbe() 152 const unsigned char *pwd, size_t pwdlen, in mbedtls_pkcs12_pbe_ext() argument 166 if (pwd == NULL && pwdlen != 0) { in mbedtls_pkcs12_pbe_ext() [all …]
|
D | pem.c | 77 const unsigned char *pwd, size_t pwdlen) in pem_pbkdf1() argument 99 if ((ret = mbedtls_md_update(&md5_ctx, pwd, pwdlen)) != 0) { in pem_pbkdf1() 125 if ((ret = mbedtls_md_update(&md5_ctx, pwd, pwdlen)) != 0) { in pem_pbkdf1() 155 const unsigned char *pwd, size_t pwdlen) in pem_des_decrypt() argument 163 if ((ret = pem_pbkdf1(des_key, 8, des_iv, pwd, pwdlen)) != 0) { in pem_des_decrypt() 185 const unsigned char *pwd, size_t pwdlen) in pem_des3_decrypt() argument 193 if ((ret = pem_pbkdf1(des3_key, 24, des3_iv, pwd, pwdlen)) != 0) { in pem_des3_decrypt() 217 const unsigned char *pwd, size_t pwdlen) in pem_aes_decrypt() argument 225 if ((ret = pem_pbkdf1(aes_key, keylen, aes_iv, pwd, pwdlen)) != 0) { in pem_aes_decrypt() 270 size_t pwdlen, size_t *use_len) in mbedtls_pem_read_buffer() argument [all …]
|
D | pkcs5.c | 106 const unsigned char *pwd, size_t pwdlen, 114 const unsigned char *pwd, size_t pwdlen, in mbedtls_pkcs5_pbes2() argument 124 return mbedtls_pkcs5_pbes2_ext(pbe_params, mode, pwd, pwdlen, data, in mbedtls_pkcs5_pbes2() 130 const unsigned char *pwd, size_t pwdlen, in mbedtls_pkcs5_pbes2_ext() argument 219 if ((ret = mbedtls_pkcs5_pbkdf2_hmac_ext(md_type, pwd, pwdlen, salt.p, in mbedtls_pkcs5_pbes2_ext()
|
D | pkparse.c | 868 const unsigned char *pwd, size_t pwdlen, in mbedtls_pk_parse_key_pkcs8_encrypted_der() argument 885 if (pwdlen == 0) { in mbedtls_pk_parse_key_pkcs8_encrypted_der() 928 pwd, pwdlen, p, len, buf, len, &outlen)) != 0) { in mbedtls_pk_parse_key_pkcs8_encrypted_der() 941 if ((ret = mbedtls_pkcs5_pbes2_ext(&pbe_params, MBEDTLS_PKCS5_DECRYPT, pwd, pwdlen, in mbedtls_pk_parse_key_pkcs8_encrypted_der() 975 const unsigned char *pwd, size_t pwdlen, in mbedtls_pk_parse_key() argument 999 key, pwd, pwdlen, &len); in mbedtls_pk_parse_key() 1029 key, pwd, pwdlen, &len); in mbedtls_pk_parse_key() 1084 pwd, pwdlen, f_rng, p_rng)) != 0) { in mbedtls_pk_parse_key() 1096 ((void) pwdlen); in mbedtls_pk_parse_key() 1107 if (pwdlen != 0) { in mbedtls_pk_parse_key() [all …]
|
D | pk_internal.h | 199 const unsigned char *pwd, size_t pwdlen,
|
/openthread-latest/third_party/mbedtls/repo/include/mbedtls/ |
D | pkcs12.h | 92 const unsigned char *pwd, size_t pwdlen, 141 const unsigned char *pwd, size_t pwdlen, 178 const unsigned char *pwd, size_t pwdlen,
|
D | pkcs5.h | 85 const unsigned char *pwd, size_t pwdlen, 126 const unsigned char *pwd, size_t pwdlen,
|
D | pem.h | 95 size_t pwdlen, size_t *use_len);
|
D | pk.h | 1103 const unsigned char *pwd, size_t pwdlen,
|