Searched refs:tmp_sig (Results 1 – 3 of 3) sorted by relevance
/external/mbedtls/tests/suites/ |
D | test_suite_lms.function | 83 unsigned char *tmp_sig = NULL; 129 ASSERT_ALLOC( tmp_sig, size ); 130 if( tmp_sig != NULL ) 131 memcpy( tmp_sig, sig->x, MIN(size, sig->len) ); 133 TEST_EQUAL(mbedtls_lms_verify( &ctx, msg->x, msg->len, tmp_sig, size ), 135 mbedtls_free( tmp_sig ); 136 tmp_sig = NULL; 141 mbedtls_free( tmp_sig );
|
D | test_suite_lmots.function | 84 unsigned char *tmp_sig = NULL; 127 ASSERT_ALLOC( tmp_sig, size ); 128 if( tmp_sig != NULL ) 129 memcpy( tmp_sig, sig->x, MIN(size, sig->len) ); 131 TEST_EQUAL(mbedtls_lmots_verify( &ctx, msg->x, msg->len, tmp_sig, size ), 133 mbedtls_free( tmp_sig ); 134 tmp_sig = NULL; 139 mbedtls_free( tmp_sig );
|
/external/mbedtls/library/ |
D | lmots.c | 738 unsigned char tmp_sig[MBEDTLS_LMOTS_P_SIG_DIGIT_COUNT_MAX][MBEDTLS_LMOTS_N_HASH_LEN_MAX]; in mbedtls_lmots_sign() local 775 NULL, tmp_digit_array, ( unsigned char * )tmp_sig ); in mbedtls_lmots_sign() 807 memcpy( sig + MBEDTLS_LMOTS_SIG_SIGNATURE_OFFSET(ctx->params.type), tmp_sig, in mbedtls_lmots_sign() 820 mbedtls_platform_zeroize( tmp_sig, sizeof( tmp_sig ) ); in mbedtls_lmots_sign()
|