Home
last modified time | relevance | path

Searched refs:password_len (Results 1 – 7 of 7) sorted by relevance

/optee_os-3.20.0/core/lib/libtomcrypt/src/misc/pkcs5/
A Dpkcs_5_1.c33 unsigned long password_len, in s_pkcs_5_alg1_common() argument
87 if ((err = hash_descriptor[hash_idx]->process(md, password, password_len)) != CRYPT_OK) { in s_pkcs_5_alg1_common()
152 int pkcs_5_alg1(const unsigned char *password, unsigned long password_len, in pkcs_5_alg1() argument
157 return s_pkcs_5_alg1_common(password, password_len, salt, iteration_count, in pkcs_5_alg1()
176 unsigned long password_len, in pkcs_5_alg1_openssl() argument
181 return s_pkcs_5_alg1_common(password, password_len, salt, iteration_count, in pkcs_5_alg1_openssl()
A Dpkcs_5_2.c23 int pkcs_5_alg2(const unsigned char *password, unsigned long password_len, in pkcs_5_alg2() argument
74 if ((err = hmac_init(hmac, hash_idx, password, password_len)) != CRYPT_OK) { in pkcs_5_alg2()
91 … if ((err = hmac_memory(hash_idx, password, password_len, buf[0], x, buf[0], &x)) != CRYPT_OK) { in pkcs_5_alg2()
/optee_os-3.20.0/core/lib/libtomcrypt/src/misc/pbes/
A Dpbes1.c7 static int s_pkcs_5_alg1_wrap(const unsigned char *password, unsigned long password_len, in s_pkcs_5_alg1_wrap() argument
13 return pkcs_5_alg1(password, password_len, salt, iteration_count, hash_idx, out, outlen); in s_pkcs_5_alg1_wrap()
16 static int s_pkcs_12_wrap(const unsigned char *password, unsigned long password_len, in s_pkcs_12_wrap() argument
23 unsigned long pwlen = password_len * 2; in s_pkcs_12_wrap()
28 if ((err = pkcs12_utf8_to_utf16(password, password_len, pw, &pwlen)) != CRYPT_OK) goto LBL_ERROR; in s_pkcs_12_wrap()
/optee_os-3.20.0/core/tee/
A Dtee_cryp_pbkdf2.c21 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-3.20.0/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_pkcs.h78 int pkcs_5_alg1(const unsigned char *password, unsigned long password_len,
86 unsigned long password_len,
92 int pkcs_5_alg2(const unsigned char *password, unsigned long password_len,
A Dtomcrypt_private.h43 typedef int (*fn_kdf_t)(const unsigned char *password, unsigned long password_len,
/optee_os-3.20.0/core/include/tee/
A Dtee_cryp_pbkdf2.h12 size_t password_len, const uint8_t *salt,

Completed in 7 milliseconds