Home
last modified time | relevance | path

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

/mbedtls-3.6.0/library/
Dpkcs12.c280 unsigned char *pwd_block, unsigned char *hash_output, int use_salt, in calculate_hashes() argument
313 if ((ret = mbedtls_md_update(&md_ctx, pwd_block, v)) != 0) { in calculate_hashes()
345 unsigned char salt_block[128], pwd_block[128], hash_block[128] = { 0 }; in mbedtls_pkcs12_derivation() local
385 pkcs12_fill_buffer(pwd_block, v, pwd, pwdlen); in mbedtls_pkcs12_derivation()
391 pwd_block, hash_output, use_salt, use_password, hlen, in mbedtls_pkcs12_derivation()
429 j = pwd_block[i - 1] + hash_block[i - 1] + c; in mbedtls_pkcs12_derivation()
431 pwd_block[i - 1] = MBEDTLS_BYTE_0(j); in mbedtls_pkcs12_derivation()
440 mbedtls_platform_zeroize(pwd_block, sizeof(pwd_block)); in mbedtls_pkcs12_derivation()