Lines Matching refs:param

53     unsigned char param[S390X_SIZE_PARAM];  in ec_GFp_s390x_nistp_mul()  local
97 memset(&param, 0, sizeof(param)); in ec_GFp_s390x_nistp_mul()
101 || BN_bn2binpad(x, param + S390X_OFF_SRC_X(len), len) == -1 in ec_GFp_s390x_nistp_mul()
102 || BN_bn2binpad(y, param + S390X_OFF_SRC_Y(len), len) == -1 in ec_GFp_s390x_nistp_mul()
104 param + S390X_OFF_SCALAR(len), len) == -1 in ec_GFp_s390x_nistp_mul()
105 || s390x_pcc(fc, param) != 0 in ec_GFp_s390x_nistp_mul()
106 || BN_bin2bn(param + S390X_OFF_RES_X(len), len, x) == NULL in ec_GFp_s390x_nistp_mul()
107 || BN_bin2bn(param + S390X_OFF_RES_Y(len), len, y) == NULL in ec_GFp_s390x_nistp_mul()
119 OPENSSL_cleanse(param, sizeof(param)); in ec_GFp_s390x_nistp_mul()
132 unsigned char param[S390X_SIZE_PARAM]; in ecdsa_s390x_nistp_sign_sig() local
166 memset(param, 0, sizeof(param)); in ecdsa_s390x_nistp_sign_sig()
168 memcpy(param + S390X_OFF_H(len) + off, dgst, len - off); in ecdsa_s390x_nistp_sign_sig()
170 if (BN_bn2binpad(privkey, param + S390X_OFF_K(len), len) == -1) { in ecdsa_s390x_nistp_sign_sig()
186 if (RAND_priv_bytes_ex(eckey->libctx, param + S390X_OFF_RN(len), in ecdsa_s390x_nistp_sign_sig()
194 || BN_bn2binpad(k, param + S390X_OFF_RN(len), len) == -1) { in ecdsa_s390x_nistp_sign_sig()
202 if (s390x_kdsa(fc, param, NULL, 0) != 0) { in ecdsa_s390x_nistp_sign_sig()
207 if (BN_bin2bn(param + S390X_OFF_R(len), len, sig->r) == NULL in ecdsa_s390x_nistp_sign_sig()
208 || BN_bin2bn(param + S390X_OFF_S(len), len, sig->s) == NULL) { in ecdsa_s390x_nistp_sign_sig()
215 OPENSSL_cleanse(param, sizeof(param)); in ecdsa_s390x_nistp_sign_sig()
228 unsigned char param[S390X_SIZE_PARAM]; in ecdsa_s390x_nistp_verify_sig() local
263 memset(param, 0, sizeof(param)); in ecdsa_s390x_nistp_verify_sig()
265 memcpy(param + S390X_OFF_H(len) + off, dgst, len - off); in ecdsa_s390x_nistp_verify_sig()
269 || BN_bn2binpad(sig->r, param + S390X_OFF_R(len), len) == -1 in ecdsa_s390x_nistp_verify_sig()
270 || BN_bn2binpad(sig->s, param + S390X_OFF_S(len), len) == -1 in ecdsa_s390x_nistp_verify_sig()
271 || BN_bn2binpad(x, param + S390X_OFF_X(len), len) == -1 in ecdsa_s390x_nistp_verify_sig()
272 || BN_bn2binpad(y, param + S390X_OFF_Y(len), len) == -1) { in ecdsa_s390x_nistp_verify_sig()
277 rc = s390x_kdsa(fc, param, NULL, 0) == 0 ? 1 : 0; in ecdsa_s390x_nistp_verify_sig()