Home
last modified time | relevance | path

Searched refs:verif (Results 1 – 2 of 2) 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/mbedtls/library/
Drsa.c1851 unsigned char *sig_try = NULL, *verif = NULL; in mbedtls_rsa_rsassa_pkcs1_v15_sign() local
1880 verif = mbedtls_calloc( 1, ctx->len ); in mbedtls_rsa_rsassa_pkcs1_v15_sign()
1881 if( verif == NULL ) in mbedtls_rsa_rsassa_pkcs1_v15_sign()
1888 MBEDTLS_MPI_CHK( mbedtls_rsa_public( ctx, sig_try, verif ) ); in mbedtls_rsa_rsassa_pkcs1_v15_sign()
1890 if( mbedtls_ct_memcmp( verif, sig, ctx->len ) != 0 ) in mbedtls_rsa_rsassa_pkcs1_v15_sign()
1900 mbedtls_platform_zeroize( verif, ctx->len ); in mbedtls_rsa_rsassa_pkcs1_v15_sign()
1902 mbedtls_free( verif ); in mbedtls_rsa_rsassa_pkcs1_v15_sign()