Home
last modified time | relevance | path

Searched refs:verif (Results 1 – 3 of 3) sorted by relevance

/third_party/openssl/crypto/srp/
Dsrp_vfy.c722 BIGNUM *salttmp = NULL, *verif; in SRP_create_verifier_BN_ex() local
745 verif = BN_new(); in SRP_create_verifier_BN_ex()
746 if (verif == NULL) in SRP_create_verifier_BN_ex()
749 if (!BN_mod_exp(verif, g, x, N, bn_ctx)) { in SRP_create_verifier_BN_ex()
750 BN_clear_free(verif); in SRP_create_verifier_BN_ex()
756 *verifier = verif; in SRP_create_verifier_BN_ex()
/third_party/node/deps/openssl/openssl/crypto/srp/
Dsrp_vfy.c722 BIGNUM *salttmp = NULL, *verif; in SRP_create_verifier_BN_ex() local
745 verif = BN_new(); in SRP_create_verifier_BN_ex()
746 if (verif == NULL) in SRP_create_verifier_BN_ex()
749 if (!BN_mod_exp(verif, g, x, N, bn_ctx)) { in SRP_create_verifier_BN_ex()
750 BN_clear_free(verif); in SRP_create_verifier_BN_ex()
756 *verifier = verif; in SRP_create_verifier_BN_ex()
/third_party/mbedtls/library/
Drsa.c1945 unsigned char *sig_try = NULL, *verif = NULL; in mbedtls_rsa_rsassa_pkcs1_v15_sign() local
1975 verif = mbedtls_calloc(1, ctx->len); in mbedtls_rsa_rsassa_pkcs1_v15_sign()
1976 if (verif == NULL) { in mbedtls_rsa_rsassa_pkcs1_v15_sign()
1982 MBEDTLS_MPI_CHK(mbedtls_rsa_public(ctx, sig_try, verif)); in mbedtls_rsa_rsassa_pkcs1_v15_sign()
1984 if (mbedtls_ct_memcmp(verif, sig, ctx->len) != 0) { in mbedtls_rsa_rsassa_pkcs1_v15_sign()
1993 mbedtls_platform_zeroize(verif, ctx->len); in mbedtls_rsa_rsassa_pkcs1_v15_sign()
1995 mbedtls_free(verif); in mbedtls_rsa_rsassa_pkcs1_v15_sign()