Home
last modified time | relevance | path

Searched refs:pwdlen (Results 1 – 8 of 8) sorted by relevance

/net-tools-3.7.0/mbedtls-2.4.0/library/
Dpem.c87 const unsigned char *pwd, size_t pwdlen ) in pem_pbkdf1() argument
99 mbedtls_md5_update( &md5_ctx, pwd, pwdlen ); in pem_pbkdf1()
119 mbedtls_md5_update( &md5_ctx, pwd, pwdlen ); in pem_pbkdf1()
139 const unsigned char *pwd, size_t pwdlen ) in pem_des_decrypt() argument
146 pem_pbkdf1( des_key, 8, des_iv, pwd, pwdlen ); in pem_des_decrypt()
161 const unsigned char *pwd, size_t pwdlen ) in pem_des3_decrypt() argument
168 pem_pbkdf1( des3_key, 24, des3_iv, pwd, pwdlen ); in pem_des3_decrypt()
185 const unsigned char *pwd, size_t pwdlen ) in pem_aes_decrypt() argument
192 pem_pbkdf1( aes_key, keylen, aes_iv, pwd, pwdlen ); in pem_aes_decrypt()
208 size_t pwdlen, size_t *use_len ) in mbedtls_pem_read_buffer() argument
[all …]
Dpkcs12.c92 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()
[all …]
Dpkparse.c940 const unsigned char *pwd, size_t pwdlen ) in pk_parse_key_pkcs8_encrypted_der() argument
957 if( pwdlen == 0 ) in pk_parse_key_pkcs8_encrypted_der()
999 pwd, pwdlen, p, len, buf ) ) != 0 ) in pk_parse_key_pkcs8_encrypted_der()
1013 pwd, pwdlen, in pk_parse_key_pkcs8_encrypted_der()
1032 if( ( ret = mbedtls_pkcs5_pbes2( &pbe_params, MBEDTLS_PKCS5_DECRYPT, pwd, pwdlen, in pk_parse_key_pkcs8_encrypted_der()
1061 const unsigned char *pwd, size_t pwdlen ) in mbedtls_pk_parse_key() argument
1080 key, pwd, pwdlen, &len ); in mbedtls_pk_parse_key()
1113 key, pwd, pwdlen, &len ); in mbedtls_pk_parse_key()
1172 pwd, pwdlen ) ) != 0 ) in mbedtls_pk_parse_key()
1186 ((void) pwdlen); in mbedtls_pk_parse_key()
[all …]
Dpkcs5.c112 const unsigned char *pwd, size_t pwdlen, in mbedtls_pkcs5_pbes2() argument
194 if( ( ret = mbedtls_pkcs5_pbkdf2_hmac( &md_ctx, pwd, pwdlen, salt.p, salt.len, in mbedtls_pkcs5_pbes2()
/net-tools-3.7.0/mbedtls-2.4.0/include/mbedtls/
Dpkcs12.h63 const unsigned char *pwd, size_t pwdlen,
85 const unsigned char *pwd, size_t pwdlen,
111 const unsigned char *pwd, size_t pwdlen,
Dpkcs5.h60 const unsigned char *pwd, size_t pwdlen,
Dpem.h93 size_t pwdlen, size_t *use_len );
Dpk.h452 const unsigned char *pwd, size_t pwdlen );