[gnutls-devel] GnuTLS | Draft: tests/fips-test: minor extension (!1605)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Wed Jun 29 08:34:52 CEST 2022




Alexander Sosedkin started a new discussion on tests/fips-test.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1605#note_1010088986

>  		fail("gnutls_privkey_sign_data failed\n");
>  	}
> -	gnutls_free(signature.data);
>  	FIPS_POP_CONTEXT(NOT_APPROVED);
>  
> -	/* Verify a signature created with SHA-1; approved */
> +	/* Verify a signature created with 2432-bit RSA and SHA-1; approved */
>  	FIPS_PUSH_CONTEXT();
> -	ret = gnutls_pubkey_verify_data2(pubkey, GNUTLS_SIGN_RSA_SHA1, 0, &data,
> -					 &rsa2342_sha1_sig);
> +	ret = gnutls_pubkey_verify_data2(pubkey, GNUTLS_SIGN_RSA_SHA1, 0,
> +	                                 &data, &rsa2342_sha1_sig);
>  	if (ret < 0) {
>  		fail("gnutls_pubkey_verify_data2 failed\n");
>  	}
>  	FIPS_POP_CONTEXT(APPROVED);

Not affected by this MR, but shouldn't it be unapproved?

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1605#note_1010088986
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20220629/8130516c/attachment.html>


More information about the Gnutls-devel mailing list