/openthread-3.5.0/third_party/mbedtls/repo/library/ |
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() 226 const unsigned char *data, const unsigned char *pwd, in mbedtls_pem_read_buffer() argument [all …]
|
D | pkcs12.c | 85 const unsigned char *pwd, size_t pwdlen, in pkcs12_pbe_derive_key_iv() argument 105 unipwd[i * 2 + 1] = pwd[i]; in pkcs12_pbe_derive_key_iv() 129 const unsigned char *pwd, size_t pwdlen, in mbedtls_pkcs12_pbe_sha1_rc4_128() argument 136 ((void) pwd); 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() 191 if( ( ret = pkcs12_pbe_derive_key_iv( pbe_params, md_type, pwd, pwdlen, in mbedtls_pkcs12_pbe() 258 const unsigned char *pwd, size_t pwdlen, in mbedtls_pkcs12_derivation() argument 282 if( pwd == NULL && pwdlen != 0 ) in mbedtls_pkcs12_derivation() [all …]
|
D | pkparse.c | 126 const char *path, const char *pwd ) in mbedtls_pk_parse_keyfile() argument 138 if( pwd == NULL ) in mbedtls_pk_parse_keyfile() 142 (const unsigned char *) pwd, strlen( pwd ) ); in mbedtls_pk_parse_keyfile() 1099 const unsigned char *pwd, size_t pwdlen ) in pk_parse_key_pkcs8_encrypted_der() argument 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() 1203 ((void) pwd); 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() [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.5.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 | 106 const unsigned char *pwd,
|
D | pk.h | 691 const unsigned char *pwd, size_t pwdlen );
|
/openthread-3.5.0/third_party/mbedtls/repo/tests/suites/ |
D | test_suite_pem.data | 20 mbedtls_pem_read_buffer:"^":"$":"^\nProc-Type\: 4,ENCRYPTED\nDEK-Info\: DES-EDE3-CBC,00$":"pwd":MBE… 23 mbedtls_pem_read_buffer:"^":"$":"^\nProc-Type\: 4,ENCRYPTED\nDEK-Info\: DES-CBC,00$":"pwd":MBEDTLS_… 26 mbedtls_pem_read_buffer:"^":"$":"^\nProc-Type\: 4,ENCRYPTED\nDEK-Info\: AES-,00$":"pwd":MBEDTLS_ERR… 30 …EK-Info\: DES-CBC,AA94892A169FA426\n\nMAAA\n-----END EC PRIVATE KEY-----":"pwd":MBEDTLS_ERR_DES_IN… 34 …fo\: DES-EDE3-CBC,AA94892A169FA426\n\nMAAA\n-----END EC PRIVATE KEY-----":"pwd":MBEDTLS_ERR_DES_IN… 38 …C,AA94892A169FA426AA94892A169FA426\n\nMAAA\n-----END EC PRIVATE KEY-----":"pwd":MBEDTLS_ERR_AES_IN…
|
D | test_suite_pkparse.function | 17 char *pwd = password; 21 if( strcmp( pwd, "NULL" ) == 0 ) 22 pwd = NULL; 24 res = mbedtls_pk_parse_keyfile( &ctx, key_file, pwd );
|
D | test_suite_pem.function | 37 char *pwd, int res ) 42 size_t pwd_len = strlen( pwd ); 47 (unsigned char *)pwd, pwd_len, &use_len );
|
/openthread-3.5.0/tests/toranj/ |
D | README_CLI.md | 41 $ top_builddir=($pwd) TORANJ_CLI=1 ./tests/toranj/start.sh
|