Lines Matching refs:p_bytes
41 int p_bytes = 0; in ossl_sm2_compute_z_digest() local
102 p_bytes = BN_num_bytes(p); in ossl_sm2_compute_z_digest()
103 buf = OPENSSL_zalloc(p_bytes); in ossl_sm2_compute_z_digest()
109 if (BN_bn2binpad(a, buf, p_bytes) < 0 in ossl_sm2_compute_z_digest()
110 || !EVP_DigestUpdate(hash, buf, p_bytes) in ossl_sm2_compute_z_digest()
111 || BN_bn2binpad(b, buf, p_bytes) < 0 in ossl_sm2_compute_z_digest()
112 || !EVP_DigestUpdate(hash, buf, p_bytes) in ossl_sm2_compute_z_digest()
116 || BN_bn2binpad(xG, buf, p_bytes) < 0 in ossl_sm2_compute_z_digest()
117 || !EVP_DigestUpdate(hash, buf, p_bytes) in ossl_sm2_compute_z_digest()
118 || BN_bn2binpad(yG, buf, p_bytes) < 0 in ossl_sm2_compute_z_digest()
119 || !EVP_DigestUpdate(hash, buf, p_bytes) in ossl_sm2_compute_z_digest()
123 || BN_bn2binpad(xA, buf, p_bytes) < 0 in ossl_sm2_compute_z_digest()
124 || !EVP_DigestUpdate(hash, buf, p_bytes) in ossl_sm2_compute_z_digest()
125 || BN_bn2binpad(yA, buf, p_bytes) < 0 in ossl_sm2_compute_z_digest()
126 || !EVP_DigestUpdate(hash, buf, p_bytes) in ossl_sm2_compute_z_digest()