Lines Matching refs:r
2884 const BIGNUM *r = NULL; in dsa_sign_digest() local
2909 DSA_SIG_get0(sig, &r, &s); in dsa_sign_digest()
2910 BN_bn2bin(r, out_dgst->buffer + out_dgst->size / 2 - BN_num_bytes(r)); in dsa_sign_digest()
2927 BIGNUM *r = NULL; in dsa_verify_digest() local
2938 r = BN_bin2bn(in_sdgst->buffer, in_sdgst->size / 2, NULL); in dsa_verify_digest()
2939 if (!ADBG_EXPECT_NOT_NULL(c, r)) in dsa_verify_digest()
2944 BN_free(r); in dsa_verify_digest()
2947 DSA_SIG_set0(sig, r, s); in dsa_verify_digest()
3011 const BIGNUM *r = NULL; in ecdsa_sign_digest() local
3027 ECDSA_SIG_get0(sig, &r, &s); in ecdsa_sign_digest()
3028 BN_bn2bin(r, out_dgst->buffer + out_dgst->size / 2 - BN_num_bytes(r)); in ecdsa_sign_digest()
3045 BIGNUM *r = NULL; in ecdsa_verify_digest() local
3056 r = BN_bin2bn(in_sdgst->buffer, in_sdgst->size / 2, NULL); in ecdsa_verify_digest()
3057 if (!ADBG_EXPECT_NOT_NULL(c, r)) in ecdsa_verify_digest()
3062 BN_free(r); in ecdsa_verify_digest()
3065 ECDSA_SIG_set0(sig, r, s); in ecdsa_verify_digest()