Lines Matching refs:pwdlen
92 const unsigned char *pwd, size_t pwdlen, in pkcs12_pbe_derive_key_iv() argument
101 if( pwdlen > PKCS12_MAX_PWDLEN ) in pkcs12_pbe_derive_key_iv()
111 for( i = 0; i < pwdlen; i++ ) in pkcs12_pbe_derive_key_iv()
114 if( ( ret = mbedtls_pkcs12_derivation( key, keylen, unipwd, pwdlen * 2 + 2, in pkcs12_pbe_derive_key_iv()
124 if( ( ret = mbedtls_pkcs12_derivation( iv, ivlen, unipwd, pwdlen * 2 + 2, in pkcs12_pbe_derive_key_iv()
136 const unsigned char *pwd, size_t pwdlen, in mbedtls_pkcs12_pbe_sha1_rc4_128() argument
144 ((void) pwdlen); in mbedtls_pkcs12_pbe_sha1_rc4_128()
158 pwd, pwdlen, in mbedtls_pkcs12_pbe_sha1_rc4_128()
178 const unsigned char *pwd, size_t pwdlen, in mbedtls_pkcs12_pbe() argument
195 if( ( ret = pkcs12_pbe_derive_key_iv( pbe_params, md_type, pwd, pwdlen, in mbedtls_pkcs12_pbe()
249 const unsigned char *pwd, size_t pwdlen, in mbedtls_pkcs12_derivation() argument
268 if( datalen > 128 || pwdlen > 64 || saltlen > 64 ) in mbedtls_pkcs12_derivation()
289 pkcs12_fill_buffer( pwd_block, v, pwd, pwdlen ); in mbedtls_pkcs12_derivation()