Searched refs:password_len (Results 1 – 7 of 7) sorted by relevance
/optee_os/core/lib/libtomcrypt/src/misc/pkcs5/ |
A D | pkcs_5_1.c | 40 unsigned long password_len, in _pkcs_5_alg1_common() argument 90 if ((err = hash_descriptor[hash_idx]->process(md, password, password_len)) != CRYPT_OK) { in _pkcs_5_alg1_common() 155 int pkcs_5_alg1(const unsigned char *password, unsigned long password_len, in pkcs_5_alg1() argument 160 return _pkcs_5_alg1_common(password, password_len, salt, iteration_count, in pkcs_5_alg1() 179 unsigned long password_len, in pkcs_5_alg1_openssl() argument 184 return _pkcs_5_alg1_common(password, password_len, salt, iteration_count, in pkcs_5_alg1_openssl()
|
A D | pkcs_5_2.c | 30 int pkcs_5_alg2(const unsigned char *password, unsigned long password_len, in pkcs_5_alg2() argument 77 if ((err = hmac_init(hmac, hash_idx, password, password_len)) != CRYPT_OK) { in pkcs_5_alg2() 94 … if ((err = hmac_memory(hash_idx, password, password_len, buf[0], x, buf[0], &x)) != CRYPT_OK) { in pkcs_5_alg2()
|
/optee_os/core/lib/libtomcrypt/src/misc/pbes/ |
A D | pbes1.c | 14 static int _pkcs_5_alg1_wrap(const unsigned char *password, unsigned long password_len, in _pkcs_5_alg1_wrap() argument 20 return pkcs_5_alg1(password, password_len, salt, iteration_count, hash_idx, out, outlen); in _pkcs_5_alg1_wrap() 23 static int _pkcs_12_wrap(const unsigned char *password, unsigned long password_len, in _pkcs_12_wrap() argument 30 unsigned long pwlen = password_len * 2; in _pkcs_12_wrap() 35 if ((err = pkcs12_utf8_to_utf16(password, password_len, pw, &pwlen)) != CRYPT_OK) goto LBL_ERROR; in _pkcs_12_wrap()
|
/optee_os/core/tee/ |
A D | tee_cryp_pbkdf2.c | 21 size_t password_len; member 37 res = crypto_mac_init(h->ctx, p->password, p->password_len); in pbkdf2_f() 72 size_t password_len, const uint8_t *salt, in tee_cryp_pbkdf2() argument 93 pbkdf2_parms.password_len = password_len; in tee_cryp_pbkdf2()
|
/optee_os/core/lib/libtomcrypt/src/headers/ |
A D | tomcrypt_pkcs.h | 85 int pkcs_5_alg1(const unsigned char *password, unsigned long password_len, 93 unsigned long password_len, 99 int pkcs_5_alg2(const unsigned char *password, unsigned long password_len,
|
A D | tomcrypt_private.h | 42 typedef int (*fn_kdf_t)(const unsigned char *password, unsigned long password_len,
|
/optee_os/core/include/tee/ |
A D | tee_cryp_pbkdf2.h | 12 size_t password_len, const uint8_t *salt,
|
Completed in 7 milliseconds