Lines Matching refs:pwdlen
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
239 ((void) pwdlen); in mbedtls_pem_read_buffer()
373 ret = pem_des3_decrypt( pem_iv, buf, len, pwd, pwdlen ); in mbedtls_pem_read_buffer()
375 ret = pem_des_decrypt( pem_iv, buf, len, pwd, pwdlen ); in mbedtls_pem_read_buffer()
380 ret = pem_aes_decrypt( pem_iv, 16, buf, len, pwd, pwdlen ); in mbedtls_pem_read_buffer()
382 ret = pem_aes_decrypt( pem_iv, 24, buf, len, pwd, pwdlen ); in mbedtls_pem_read_buffer()
384 ret = pem_aes_decrypt( pem_iv, 32, buf, len, pwd, pwdlen ); in mbedtls_pem_read_buffer()