Home
last modified time | relevance | path

Searched refs:pwd (Results 1 – 25 of 33) sorted by relevance

12

/optee_os/lib/libmbedtls/mbedtls/library/
A Dpem.c78 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 Dpkcs12.c85 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
188 if( ( ret = pkcs12_pbe_derive_key_iv( pbe_params, md_type, pwd, pwdlen, in mbedtls_pkcs12_pbe()
244 const unsigned char *pwd, size_t pwdlen, in mbedtls_pkcs12_derivation() argument
284 pkcs12_fill_buffer( pwd_block, v, pwd, pwdlen ); in mbedtls_pkcs12_derivation()
A Dpkparse.c126 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 Dpkcs5.c110 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/out/arm/export-ta_arm32/host_include/mbedtls/
A Dpkcs12.h70 const unsigned char *pwd, size_t pwdlen,
92 const unsigned char *pwd, size_t pwdlen,
120 const unsigned char *pwd, size_t pwdlen,
A Dpkcs5.h67 const unsigned char *pwd, size_t pwdlen,
A Dpem.h97 const unsigned char *pwd,
/optee_os/out/arm/export-ta_arm32/include/mbedtls/
A Dpkcs12.h70 const unsigned char *pwd, size_t pwdlen,
92 const unsigned char *pwd, size_t pwdlen,
120 const unsigned char *pwd, size_t pwdlen,
A Dpkcs5.h67 const unsigned char *pwd, size_t pwdlen,
A Dpem.h97 const unsigned char *pwd,
/optee_os/lib/libmbedtls/mbedtls/include/mbedtls/
A Dpkcs12.h70 const unsigned char *pwd, size_t pwdlen,
92 const unsigned char *pwd, size_t pwdlen,
120 const unsigned char *pwd, size_t pwdlen,
A Dpkcs5.h67 const unsigned char *pwd, size_t pwdlen,
A Dpem.h97 const unsigned char *pwd,
/optee_os/out/arm/export-ta_arm64/include/mbedtls/
A Dpkcs12.h70 const unsigned char *pwd, size_t pwdlen,
92 const unsigned char *pwd, size_t pwdlen,
120 const unsigned char *pwd, size_t pwdlen,
A Dpkcs5.h67 const unsigned char *pwd, size_t pwdlen,
A Dpem.h97 const unsigned char *pwd,
/optee_os/out/arm/export-ta_arm64/host_include/mbedtls/
A Dpkcs12.h70 const unsigned char *pwd, size_t pwdlen,
92 const unsigned char *pwd, size_t pwdlen,
120 const unsigned char *pwd, size_t pwdlen,
A Dpkcs5.h67 const unsigned char *pwd, size_t pwdlen,
A Dpem.h97 const unsigned char *pwd,
/optee_os/core/lib/libtomcrypt/src/pk/ed25519/
A Ded25519_import_pkcs8.c29 const void *pwd, unsigned long pwdlen, in ed25519_import_pkcs8() argument
32 return ec25519_import_pkcs8(in, inlen, pwd, pwdlen, PKA_ED25519, tweetnacl_crypto_sk_to_pk, key); in ed25519_import_pkcs8()
/optee_os/core/lib/libtomcrypt/src/pk/x25519/
A Dx25519_import_pkcs8.c29 const void *pwd, unsigned long pwdlen, in x25519_import_pkcs8() argument
32 …return ec25519_import_pkcs8(in, inlen, pwd, pwdlen, PKA_X25519, tweetnacl_crypto_scalarmult_base, … in x25519_import_pkcs8()
/optee_os/core/lib/libtomcrypt/src/pk/asn1/pkcs8/
A Dpkcs8_decode_flexi.c25 const void *pwd, unsigned long pwdlen, in pkcs8_decode_flexi() argument
69 pbes.pwd = pwd; in pkcs8_decode_flexi()
/optee_os/core/lib/libtomcrypt/src/pk/ec25519/
A Dec25519_import_pkcs8.c29 const void *pwd, unsigned long pwdlen, in ec25519_import_pkcs8() argument
45 if ((err = pkcs8_decode_flexi(in, inlen, pwd, pwdlen, &l)) == CRYPT_OK) { in ec25519_import_pkcs8()
/optee_os/core/lib/libtomcrypt/src/pk/ecc/
A Decc_import_pkcs8.c48 const void *pwd, unsigned long pwdlen, in ecc_import_pkcs8() argument
74 if ((err = pkcs8_decode_flexi(in, inlen, pwd, pwdlen, &l)) == CRYPT_OK) { in ecc_import_pkcs8()
/optee_os/core/lib/libtomcrypt/src/misc/pbes/
A Dpbes.c60 …if ((err = arg->type.kdf(arg->pwd, arg->pwdlen, arg->salt->data, arg->salt->size, arg->iterations,… in pbes_decrypt()

Completed in 25 milliseconds

12