Home
last modified time | relevance | path

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

/third_party/mbedtls/library/
Dpkcs12.c234 unsigned char *pwd_block, unsigned char *hash_output, int use_salt, in calculate_hashes() argument
268 if ((ret = mbedtls_md_update(&md_ctx, pwd_block, v)) != 0) { in calculate_hashes()
315 if ((status = psa_hash_update(&op, pwd_block, v)) != PSA_SUCCESS) { in calculate_hashes()
352 unsigned char salt_block[128], pwd_block[128], hash_block[128] = { 0 }; in mbedtls_pkcs12_derivation() local
392 pkcs12_fill_buffer(pwd_block, v, pwd, pwdlen); in mbedtls_pkcs12_derivation()
398 pwd_block, hash_output, use_salt, use_password, hlen, in mbedtls_pkcs12_derivation()
436 j = pwd_block[i - 1] + hash_block[i - 1] + c; in mbedtls_pkcs12_derivation()
438 pwd_block[i - 1] = MBEDTLS_BYTE_0(j); in mbedtls_pkcs12_derivation()
447 mbedtls_platform_zeroize(pwd_block, sizeof(pwd_block)); in mbedtls_pkcs12_derivation()