Lines Matching refs:p_bytes
41 int p_bytes = 0; in ossl_sm2_compute_z_digest() local
112 p_bytes = BN_num_bytes(p); in ossl_sm2_compute_z_digest()
113 buf = OPENSSL_zalloc(p_bytes); in ossl_sm2_compute_z_digest()
117 if (BN_bn2binpad(a, buf, p_bytes) < 0 in ossl_sm2_compute_z_digest()
118 || !EVP_DigestUpdate(hash, buf, p_bytes) in ossl_sm2_compute_z_digest()
119 || BN_bn2binpad(b, buf, p_bytes) < 0 in ossl_sm2_compute_z_digest()
120 || !EVP_DigestUpdate(hash, buf, p_bytes) in ossl_sm2_compute_z_digest()
124 || BN_bn2binpad(xG, buf, p_bytes) < 0 in ossl_sm2_compute_z_digest()
125 || !EVP_DigestUpdate(hash, buf, p_bytes) in ossl_sm2_compute_z_digest()
126 || BN_bn2binpad(yG, buf, p_bytes) < 0 in ossl_sm2_compute_z_digest()
127 || !EVP_DigestUpdate(hash, buf, p_bytes) in ossl_sm2_compute_z_digest()
131 || BN_bn2binpad(xA, buf, p_bytes) < 0 in ossl_sm2_compute_z_digest()
132 || !EVP_DigestUpdate(hash, buf, p_bytes) in ossl_sm2_compute_z_digest()
133 || BN_bn2binpad(yA, buf, p_bytes) < 0 in ossl_sm2_compute_z_digest()
134 || !EVP_DigestUpdate(hash, buf, p_bytes) in ossl_sm2_compute_z_digest()