Home
last modified time | relevance | path

Searched refs:sig_len (Results 1 – 2 of 2) sorted by relevance

/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/host/src/tests/integration_cc3x/runtime_integration_test/tests/
Drun_integration_ecdsa.c380 size_t sig_len; in runIt_ecdsaWriteReadRandomTest() local
404 …edtls_ecdsa_write_signature(pCtx, MD_TYPE_ID, hash, sizeof(hash), pSig, &sig_len, mbedtls_ctr_drbg… in runIt_ecdsaWriteReadRandomTest()
405 RUNIT_ASSERT_API(mbedtls_ecdsa_read_signature(pCtx, hash, sizeof(hash), pSig, sig_len) == 0); in runIt_ecdsaWriteReadRandomTest()
/trusted-firmware-m-3.4.0/platform/ext/target/stm/common/hal/accelerator/
Drsa_alt.c2571 size_t sig_len; in mbedtls_rsa_rsassa_pkcs1_v15_verify() local
2580 sig_len = ctx->MBEDTLS_PRIVATE(len); in mbedtls_rsa_rsassa_pkcs1_v15_verify()
2586 if( ( encoded = mbedtls_calloc( 1, sig_len ) ) == NULL || in mbedtls_rsa_rsassa_pkcs1_v15_verify()
2587 ( encoded_expected = mbedtls_calloc( 1, sig_len ) ) == NULL ) in mbedtls_rsa_rsassa_pkcs1_v15_verify()
2593 if( ( ret = rsa_rsassa_pkcs1_v15_encode( md_alg, hashlen, hash, sig_len, in mbedtls_rsa_rsassa_pkcs1_v15_verify()
2610 sig_len ) ) != 0 ) in mbedtls_rsa_rsassa_pkcs1_v15_verify()
2620 mbedtls_platform_zeroize( encoded, sig_len ); in mbedtls_rsa_rsassa_pkcs1_v15_verify()
2626 mbedtls_platform_zeroize( encoded_expected, sig_len ); in mbedtls_rsa_rsassa_pkcs1_v15_verify()