/openthread-3.4.0/third_party/mbedtls/repo/library/ |
D | pkcs12.c | 85 const unsigned char *pwd, size_t pwdlen, in pkcs12_pbe_derive_key_iv() argument 94 if( pwdlen > PKCS12_MAX_PWDLEN ) in pkcs12_pbe_derive_key_iv() 104 for( i = 0; i < pwdlen; i++ ) in pkcs12_pbe_derive_key_iv() 107 if( ( ret = mbedtls_pkcs12_derivation( key, keylen, unipwd, pwdlen * 2 + 2, in pkcs12_pbe_derive_key_iv() 117 if( ( ret = mbedtls_pkcs12_derivation( iv, ivlen, unipwd, pwdlen * 2 + 2, in pkcs12_pbe_derive_key_iv() 129 const unsigned char *pwd, size_t pwdlen, in mbedtls_pkcs12_pbe_sha1_rc4_128() argument 137 ((void) pwdlen); in mbedtls_pkcs12_pbe_sha1_rc4_128() 151 pwd, pwdlen, in mbedtls_pkcs12_pbe_sha1_rc4_128() 171 const unsigned char *pwd, size_t pwdlen, in mbedtls_pkcs12_pbe() argument 182 if( pwd == NULL && pwdlen != 0 ) in mbedtls_pkcs12_pbe() [all …]
|
D | pem.c | 78 const unsigned char *pwd, size_t pwdlen ) in pem_pbkdf1() argument 92 if( ( ret = mbedtls_md5_update_ret( &md5_ctx, pwd, pwdlen ) ) != 0 ) in pem_pbkdf1() 114 if( ( ret = mbedtls_md5_update_ret( &md5_ctx, pwd, pwdlen ) ) != 0 ) in pem_pbkdf1() 140 const unsigned char *pwd, size_t pwdlen ) in pem_des_decrypt() argument 148 if( ( ret = pem_pbkdf1( des_key, 8, des_iv, pwd, pwdlen ) ) != 0 ) in pem_des_decrypt() 168 const unsigned char *pwd, size_t pwdlen ) in pem_des3_decrypt() argument 176 if( ( ret = pem_pbkdf1( des3_key, 24, des3_iv, pwd, pwdlen ) ) != 0 ) in pem_des3_decrypt() 198 const unsigned char *pwd, size_t pwdlen ) in pem_aes_decrypt() argument 206 if( ( ret = pem_pbkdf1( aes_key, keylen, aes_iv, pwd, pwdlen ) ) != 0 ) in pem_aes_decrypt() 227 size_t pwdlen, size_t *use_len ) in mbedtls_pem_read_buffer() argument [all …]
|
D | pkparse.c | 1099 const unsigned char *pwd, size_t pwdlen ) in pk_parse_key_pkcs8_encrypted_der() argument 1114 if( pwdlen == 0 ) in pk_parse_key_pkcs8_encrypted_der() 1156 pwd, pwdlen, p, len, buf ) ) != 0 ) in pk_parse_key_pkcs8_encrypted_der() 1170 pwd, pwdlen, in pk_parse_key_pkcs8_encrypted_der() 1189 if( ( ret = mbedtls_pkcs5_pbes2( &pbe_params, MBEDTLS_PKCS5_DECRYPT, pwd, pwdlen, in pk_parse_key_pkcs8_encrypted_der() 1218 const unsigned char *pwd, size_t pwdlen ) in mbedtls_pk_parse_key() argument 1243 key, pwd, pwdlen, &len ); in mbedtls_pk_parse_key() 1274 key, pwd, pwdlen, &len ); in mbedtls_pk_parse_key() 1332 pwd, pwdlen ) ) != 0 ) in mbedtls_pk_parse_key() 1345 ((void) pwdlen); in mbedtls_pk_parse_key() [all …]
|
D | pkcs5.c | 110 const unsigned char *pwd, size_t pwdlen, in mbedtls_pkcs5_pbes2() argument 193 if( ( ret = mbedtls_pkcs5_pbkdf2_hmac( &md_ctx, pwd, pwdlen, salt.p, salt.len, in mbedtls_pkcs5_pbes2()
|
/openthread-3.4.0/third_party/mbedtls/repo/include/mbedtls/ |
D | pkcs12.h | 74 const unsigned char *pwd, size_t pwdlen, 98 const unsigned char *pwd, size_t pwdlen, 132 const unsigned char *pwd, size_t pwdlen,
|
D | pkcs5.h | 71 const unsigned char *pwd, size_t pwdlen,
|
D | pem.h | 107 size_t pwdlen, size_t *use_len );
|
D | pk.h | 691 const unsigned char *pwd, size_t pwdlen );
|