Home
last modified time | relevance | path

Searched refs:signature_length (Results 1 – 21 of 21) sorted by relevance

/third_party/mbedtls/tests/src/drivers/
Dtest_driver_signature.c63 size_t *signature_length) in sign_hash() argument
75 signature, signature_size, signature_length); in sign_hash()
82 signature, signature_size, signature_length); in sign_hash()
96 signature, signature_size, signature_length); in sign_hash()
103 signature, signature_size, signature_length); in sign_hash()
118 (void) signature_length; in sign_hash()
130 size_t signature_length) in verify_hash() argument
142 signature, signature_length); in verify_hash()
149 signature, signature_length); in verify_hash()
163 signature, signature_length); in verify_hash()
[all …]
/third_party/mbedtls/tests/include/test/drivers/
Dsignature.h62 size_t *signature_length);
73 size_t *signature_length);
83 size_t signature_length);
93 size_t signature_length);
100 uint8_t *signature, size_t signature_size, size_t *signature_length);
107 uint8_t *signature, size_t signature_size, size_t *signature_length);
114 const uint8_t *signature, size_t signature_length);
121 const uint8_t *signature, size_t signature_length);
/third_party/mbedtls/library/
Dpsa_crypto_core.h413 uint8_t *signature, size_t signature_size, size_t *signature_length);
450 const uint8_t *signature, size_t signature_length);
489 uint8_t *signature, size_t signature_size, size_t *signature_length);
524 const uint8_t *signature, size_t signature_length);
758 size_t *signature_length);
819 const uint8_t *signature, size_t signature_length);
Dpsa_crypto_driver_wrappers.c127 size_t *signature_length ) in psa_driver_wrapper_sign_message() argument
149 signature_length ); in psa_driver_wrapper_sign_message()
170 signature_length ); in psa_driver_wrapper_sign_message()
190 signature_length ) ); in psa_driver_wrapper_sign_message()
201 size_t signature_length ) in psa_driver_wrapper_verify_message() argument
222 signature_length ); in psa_driver_wrapper_verify_message()
242 signature_length ) ); in psa_driver_wrapper_verify_message()
261 signature_length ) ); in psa_driver_wrapper_verify_message()
268 uint8_t *signature, size_t signature_size, size_t *signature_length ) in psa_driver_wrapper_sign_hash() argument
286 signature, signature_size, signature_length ) ); in psa_driver_wrapper_sign_hash()
[all …]
Dpsa_crypto_driver_wrappers.h45 size_t *signature_length);
55 size_t signature_length);
61 uint8_t *signature, size_t signature_size, size_t *signature_length);
67 const uint8_t *signature, size_t signature_length);
88 size_t *signature_length);
98 const uint8_t *signature, size_t signature_length);
Dpsa_crypto_ecp.h194 uint8_t *signature, size_t signature_size, size_t *signature_length);
229 const uint8_t *signature, size_t signature_length);
Dpsa_crypto_rsa.h177 uint8_t *signature, size_t signature_size, size_t *signature_length);
213 const uint8_t *signature, size_t signature_length);
Dpsa_crypto.c2746 size_t *signature_length) in psa_sign_internal() argument
2753 *signature_length = 0; in psa_sign_internal()
2789 signature, signature_size, signature_length); in psa_sign_internal()
2795 signature, signature_size, signature_length); in psa_sign_internal()
2801 *signature_length); in psa_sign_internal()
2814 size_t signature_length) in psa_verify_internal() argument
2843 signature, signature_length); in psa_verify_internal()
2848 signature, signature_length); in psa_verify_internal()
2866 size_t *signature_length) in psa_sign_message_builtin() argument
2886 signature, signature_size, signature_length); in psa_sign_message_builtin()
[all …]
Dpsa_crypto_ecp.c340 uint8_t *signature, size_t signature_size, size_t *signature_length) in mbedtls_psa_ecdsa_sign_hash() argument
398 *signature_length = 2 * curve_bytes; in mbedtls_psa_ecdsa_sign_hash()
426 const uint8_t *signature, size_t signature_length) in mbedtls_psa_ecdsa_verify_hash() argument
448 if (signature_length != 2 * curve_bytes) { in mbedtls_psa_ecdsa_verify_hash()
Dpsa_crypto_rsa.c347 uint8_t *signature, size_t signature_size, size_t *signature_length) in mbedtls_psa_rsa_sign_hash() argument
408 *signature_length = mbedtls_rsa_get_len(rsa); in mbedtls_psa_rsa_sign_hash()
446 const uint8_t *signature, size_t signature_length) in mbedtls_psa_rsa_verify_hash() argument
466 if (signature_length != mbedtls_rsa_get_len(rsa)) { in mbedtls_psa_rsa_verify_hash()
Dpk.c526 size_t signature_length; in mbedtls_pk_verify_ext() local
558 signature_length = sig_len > mbedtls_pk_get_len(ctx) ? in mbedtls_pk_verify_ext()
561 hash_len, sig, signature_length); in mbedtls_pk_verify_ext()
/third_party/skia/third_party/externals/libwebp/imageio/
Djpegdec.c155 size_t signature_length; in ExtractMetadataFromJPEG() member
173 marker->data_length > kJPEGMetadataMap[i].signature_length && in ExtractMetadataFromJPEG()
175 kJPEGMetadataMap[i].signature_length)) { in ExtractMetadataFromJPEG()
182 kJPEGMetadataMap[i].signature_length; in ExtractMetadataFromJPEG()
184 marker->data_length - kJPEGMetadataMap[i].signature_length; in ExtractMetadataFromJPEG()
/third_party/mbedtls/include/psa/
Dcrypto.h2897 size_t *signature_length);
2948 size_t signature_length);
3002 size_t *signature_length);
3052 size_t signature_length);
4438 size_t *signature_length);
4558 const uint8_t *signature, size_t signature_length);
Dcrypto_se_driver.h591 size_t signature_length);
/third_party/mbedtls/tests/suites/
Dtest_suite_psa_crypto_entropy.function87 size_t signature_length;
98 &signature_length));
110 &signature_length));
Dtest_suite_psa_crypto_se_driver_hal_mocks.function64 size_t signature_length;
228 size_t signature_length)
238 mock_verify_data.signature_length = signature_length;
568 size_t signature_length;
601 &signature_length)
Dtest_suite_psa_crypto.function2175 size_t signature_length;
2196 &signature_length);
2218 &signature_length);
6446 size_t signature_length = 0xdeadbeef;
6472 &signature_length));
6475 signature, signature_length);
6519 size_t signature_length = 0xdeadbeef;
6569 &signature_length);
6598 signature, signature_length);
6631 size_t signature_length = 0xdeadbeef;
[all …]
Dtest_suite_psa_crypto_se_driver_hal.function451 size_t *signature_length)
471 signature, signature_size, signature_length);
484 size_t signature_length)
505 signature, signature_length);
1302 size_t signature_length;
1400 &signature_length),
1407 &signature_length));
1414 signature, signature_length));
1418 signature, signature_length),
1425 signature, signature_length),
[all …]
Dtest_suite_psa_crypto_driver_wrappers.function510 size_t signature_length = 0xdeadbeef;
545 &signature_length);
548 ASSERT_COMPARE(signature, signature_length,
638 size_t signature_length = 0xdeadbeef;
672 &signature_length);
675 ASSERT_COMPARE(signature, signature_length,
/third_party/mbedtls/scripts/data_files/driver_templates/
Dpsa_crypto_driver_wrappers.c.jinja134 size_t *signature_length )
156 signature_length );
177 signature_length );
197 signature_length ) );
208 size_t signature_length )
229 signature_length );
249 signature_length ) );
268 signature_length ) );
275 uint8_t *signature, size_t signature_size, size_t *signature_length )
293 signature, signature_size, signature_length ) );
[all …]
/third_party/mbedtls/tests/src/
Dpsa_exercise_key.c302 size_t signature_length = sizeof(signature); in exercise_signature_key() local
326 &signature_length)); in exercise_signature_key()
336 signature, signature_length), in exercise_signature_key()
345 size_t signature_length = sizeof(signature); in exercise_signature_key() local
351 &signature_length)); in exercise_signature_key()
361 signature, signature_length), in exercise_signature_key()