Searched refs:pwd_block (Results 1 – 1 of 1) sorted by relevance
/openthread-latest/third_party/mbedtls/repo/library/ |
D | pkcs12.c | 270 unsigned char *pwd_block, unsigned char *hash_output, int use_salt, in calculate_hashes() argument 303 if ((ret = mbedtls_md_update(&md_ctx, pwd_block, v)) != 0) { in calculate_hashes() 335 unsigned char salt_block[128], pwd_block[128], hash_block[128] = { 0 }; in mbedtls_pkcs12_derivation() local 375 pkcs12_fill_buffer(pwd_block, v, pwd, pwdlen); in mbedtls_pkcs12_derivation() 381 pwd_block, hash_output, use_salt, use_password, hlen, in mbedtls_pkcs12_derivation() 419 j = pwd_block[i - 1] + hash_block[i - 1] + c; in mbedtls_pkcs12_derivation() 421 pwd_block[i - 1] = MBEDTLS_BYTE_0(j); in mbedtls_pkcs12_derivation() 430 mbedtls_platform_zeroize(pwd_block, sizeof(pwd_block)); in mbedtls_pkcs12_derivation()
|