Searched refs:pw (Results 1 – 5 of 5) sorted by relevance
/optee_os-3.20.0/core/lib/libtomcrypt/src/misc/pbes/ |
A D | pbes1.c | 24 unsigned char* pw; in s_pkcs_12_wrap() local 26 pw = XMALLOC(pwlen + 2); in s_pkcs_12_wrap() 27 if (pw == NULL) return CRYPT_MEM; 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() 29 pw[pwlen++] = 0; in s_pkcs_12_wrap() 30 pw[pwlen++] = 0; in s_pkcs_12_wrap() 32 …if ((err = pkcs12_kdf(hash_idx, pw, pwlen, salt, salt_len, iteration_count, 1, out, 24)) != CRYPT_… in s_pkcs_12_wrap() 34 …if ((err = pkcs12_kdf(hash_idx, pw, pwlen, salt, salt_len, iteration_count, 2, out+24, 8)) != CRYP… in s_pkcs_12_wrap() 38 zeromem(pw, pwlen); in s_pkcs_12_wrap() 39 XFREE(pw); in s_pkcs_12_wrap()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/misc/pkcs12/ |
A D | pkcs12_kdf.c | 9 const unsigned char *pw, unsigned long pwlen, in pkcs12_kdf() argument 27 LTC_ARGCHK(pw != NULL); in pkcs12_kdf() 38 for (i = 0; i < Plen; i++) I[Slen + i] = pw[i % pwlen]; /* I = Salt || Pass */ in pkcs12_kdf()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/headers/ |
A D | tomcrypt_private.h | 464 const unsigned char *pw, unsigned long pwlen,
|
/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/ |
A D | ssl.h | 3232 const unsigned char *pw,
|
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/ |
A D | ssl_tls.c | 4440 const unsigned char *pw, in mbedtls_ssl_set_hs_ecjpake_password() argument 4457 pw, pw_len ) ); in mbedtls_ssl_set_hs_ecjpake_password()
|
Completed in 24 milliseconds