/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/ |
A 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 198 const unsigned char *pwd, size_t pwdlen ) in pem_aes_decrypt() argument 238 ((void) pwd); in mbedtls_pem_read_buffer() 362 if( pwd == NULL ) in mbedtls_pem_read_buffer() 373 ret = pem_des3_decrypt( pem_iv, buf, len, pwd, pwdlen ); in mbedtls_pem_read_buffer() [all …]
|
A D | pkcs12.c | 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() 288 use_password = ( pwd && pwdlen != 0 ); in mbedtls_pkcs12_derivation() [all …]
|
A 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() 1156 pwd, pwdlen, p, len, buf ) ) != 0 ) in pk_parse_key_pkcs8_encrypted_der() 1170 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() 1274 key, pwd, pwdlen, &len ); in mbedtls_pk_parse_key() 1344 ((void) pwd); in mbedtls_pk_parse_key() [all …]
|
A 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()
|
/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/ |
A 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,
|
A D | pkcs5.h | 71 const unsigned char *pwd, size_t pwdlen,
|
A D | pem.h | 106 const unsigned char *pwd,
|
A D | pk.h | 714 const unsigned char *pwd, size_t pwdlen );
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/ed25519/ |
A D | ed25519_import_pkcs8.c | 22 const void *pwd, unsigned long pwdlen, in ed25519_import_pkcs8() argument 25 …return ec25519_import_pkcs8(in, inlen, pwd, pwdlen, LTC_OID_ED25519, tweetnacl_crypto_sk_to_pk, ke… in ed25519_import_pkcs8()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/x25519/ |
A D | x25519_import_pkcs8.c | 22 const void *pwd, unsigned long pwdlen, in x25519_import_pkcs8() argument 25 …return ec25519_import_pkcs8(in, inlen, pwd, pwdlen, LTC_OID_X25519, tweetnacl_crypto_scalarmult_ba… in x25519_import_pkcs8()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/asn1/pkcs8/ |
A D | pkcs8_decode_flexi.c | 18 const void *pwd, unsigned long pwdlen, in pkcs8_decode_flexi() argument 62 pbes.pwd = pwd; in pkcs8_decode_flexi()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/ec25519/ |
A D | ec25519_import_pkcs8.c | 22 const void *pwd, unsigned long pwdlen, in ec25519_import_pkcs8() argument 38 if ((err = pkcs8_decode_flexi(in, inlen, pwd, pwdlen, &l)) == CRYPT_OK) { in ec25519_import_pkcs8()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/ecc/ |
A D | ecc_import_pkcs8.c | 41 const void *pwd, unsigned long pwdlen, in ecc_import_pkcs8() argument 67 if ((err = pkcs8_decode_flexi(in, inlen, pwd, pwdlen, &l)) == CRYPT_OK) { in ecc_import_pkcs8()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/misc/pbes/ |
A D | pbes.c | 53 …if ((err = arg->type.kdf(arg->pwd, arg->pwdlen, arg->salt->data, arg->salt->size, arg->iterations,… in pbes_decrypt()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/headers/ |
A D | tomcrypt_private.h | 63 const void *pwd; member 381 const void *pwd, unsigned long pwdlen, 452 const void *pwd, unsigned long pwdlen,
|
A D | tomcrypt_pk.h | 281 int ecc_import_pkcs8(const unsigned char *in, unsigned long inlen, const void *pwd, unsigned long p… 355 const void *pwd, unsigned long pwdlen, 395 const void *pwd, unsigned long pwdlen,
|