/mbedtls-development/tests/include/test/ |
A D | certs.h | 37 extern const size_t mbedtls_test_cas_len[]; 41 extern const size_t mbedtls_test_cas_der_len[]; 46 extern const size_t mbedtls_test_cas_pem_len; 94 extern const size_t mbedtls_test_ca_crt_ec_len; 114 extern const size_t mbedtls_test_ca_crt_len; 115 extern const size_t mbedtls_test_ca_key_len; 116 extern const size_t mbedtls_test_ca_pwd_len; 183 extern const size_t mbedtls_test_srv_crt_len; 184 extern const size_t mbedtls_test_srv_key_len; 185 extern const size_t mbedtls_test_srv_pwd_len; [all …]
|
/mbedtls-development/library/ |
A D | psa_crypto_driver_wrappers.h | 37 size_t input_length, 48 size_t input_length, 56 uint8_t *signature, size_t signature_size, size_t *signature_length ); 72 size_t *key_buffer_length, size_t *bits ); 77 uint8_t *data, size_t data_size, size_t *data_length ); 82 uint8_t *data, size_t data_size, size_t *data_length ); 175 size_t hash_size, 194 size_t hash_size, 263 size_t tag_size, 288 size_t mac_size, [all …]
|
A D | psa_crypto_ecp.h | 79 const uint8_t *data, size_t data_length, 80 uint8_t *key_buffer, size_t key_buffer_size, 81 size_t *key_buffer_length, size_t *bits ); 124 uint8_t *data, size_t data_size, size_t *data_length ); 147 uint8_t *key_buffer, size_t key_buffer_size, size_t *key_buffer_length ); 185 uint8_t *signature, size_t signature_size, size_t *signature_length ); 229 const uint8_t *data, size_t data_length, 231 size_t *key_buffer_length, size_t *bits ); 236 uint8_t *data, size_t data_size, size_t *data_length ); 240 uint8_t *key_buffer, size_t key_buffer_size, size_t *key_buffer_length ); [all …]
|
A D | psa_crypto_rsa.h | 70 const uint8_t *data, size_t data_length, 71 uint8_t *key_buffer, size_t key_buffer_size, 72 size_t *key_buffer_length, size_t *bits ); 115 uint8_t *data, size_t data_size, size_t *data_length ); 138 uint8_t *key_buffer, size_t key_buffer_size, size_t *key_buffer_length ); 177 uint8_t *signature, size_t signature_size, size_t *signature_length ); 223 const uint8_t *data, size_t data_length, 225 size_t *key_buffer_length, size_t *bits ); 230 uint8_t *data, size_t data_size, size_t *data_length ); 234 uint8_t *key, size_t key_size, size_t *key_length ); [all …]
|
A D | psa_crypto_cipher.h | 153 uint8_t *output, size_t output_size, size_t *output_length ); 183 uint8_t *output, size_t output_size, size_t *output_length ); 331 uint8_t *output, size_t output_size, size_t *output_length ); 335 uint8_t *output, size_t output_size, size_t *output_length ); 343 size_t key_buffer_size, 346 size_t input_length, 348 size_t output_size, 349 size_t *output_length ); 354 size_t key_buffer_size, 357 size_t input_length, [all …]
|
A D | psa_crypto_aead.h | 86 uint8_t *ciphertext, size_t ciphertext_size, size_t *ciphertext_length ); 149 uint8_t *plaintext, size_t plaintext_size, size_t *plaintext_length ); 191 size_t key_buffer_size, 234 size_t key_buffer_size, 268 size_t nonce_length ); 308 size_t ad_length, 346 size_t input_length ); 406 size_t input_length, 408 size_t output_size, 481 size_t tag_size, [all …]
|
A D | psa_crypto_core.h | 38 const uint8_t *a, const uint8_t *b, size_t n ) in mbedtls_psa_safer_memcmp() 40 size_t i; in mbedtls_psa_safer_memcmp() 79 size_t lock_count; 86 size_t bytes; 293 const uint8_t *data, size_t data_length, 294 uint8_t *key_buffer, size_t key_buffer_size, 295 size_t *key_buffer_length, size_t *bits ); 322 uint8_t *data, size_t data_size, size_t *data_length ); 350 uint8_t *data, size_t data_size, size_t *data_length ); 418 uint8_t *signature, size_t signature_size, size_t *signature_length ); [all …]
|
A D | psa_crypto_mac.h | 64 size_t input_length, 66 size_t mac_size, 67 size_t *mac_length); 209 size_t mac_size, 250 size_t mac_length ); 288 size_t input_length, 290 size_t mac_size, 315 size_t mac_size, 321 size_t mac_length ); 334 size_t mac_size, [all …]
|
A D | pk_wrap.h | 39 size_t (*get_bitlen)( const void * ); 46 const unsigned char *hash, size_t hash_len, 47 const unsigned char *sig, size_t sig_len ); 51 const unsigned char *hash, size_t hash_len, 52 unsigned char *sig, size_t sig_size, size_t *sig_len, 53 int (*f_rng)(void *, unsigned char *, size_t), 60 const unsigned char *sig, size_t sig_len, 65 const unsigned char *hash, size_t hash_len, 66 unsigned char *sig, size_t sig_size, size_t *sig_len, 73 unsigned char *output, size_t *olen, size_t osize, [all …]
|
A D | pk_wrap.c | 111 unsigned char *sig, size_t sig_size, size_t *sig_len, in rsa_sign_wrap() 132 unsigned char *output, size_t *olen, size_t osize, in rsa_decrypt_wrap() 146 unsigned char *output, size_t *olen, size_t osize, in rsa_encrypt_wrap() 252 unsigned char *sig, size_t sig_size, size_t *sig_len, 274 unsigned char *sig, size_t sig_size, size_t *sig_len, in eckey_sign_wrap() 301 unsigned char *sig, size_t sig_size, size_t *sig_len, 373 unsigned char *sig, size_t sig_size, size_t *sig_len, in eckey_sign_rs_wrap() 540 size_t tmp_size; in extract_ecdsa_sig() 913 size_t bits; in pk_opaque_get_bitlen() 948 size_t len = 0; in asn1_write_mpibuf() [all …]
|
A D | platform.c | 37 static void *platform_calloc_uninit( size_t n, size_t size ) in platform_calloc_uninit() 56 static void * (*mbedtls_calloc_func)( size_t, size_t ) = MBEDTLS_PLATFORM_STD_CALLOC; 59 void * mbedtls_calloc( size_t nmemb, size_t size ) in mbedtls_calloc() 69 int mbedtls_platform_set_calloc_free( void * (*calloc_func)( size_t, size_t ), in mbedtls_platform_set_calloc_free() argument 100 static int platform_snprintf_uninit( char * s, size_t n, in platform_snprintf_uninit() 112 int (*mbedtls_snprintf)( char * s, size_t n, 139 if( ret < 0 || (size_t) ret == n ) in mbedtls_platform_win32_vsnprintf() 155 static int platform_vsnprintf_uninit( char * s, size_t n, in platform_vsnprintf_uninit() 168 int (*mbedtls_vsnprintf)( char * s, size_t n, 286 size_t n; in mbedtls_platform_std_nv_seed_read() [all …]
|
/mbedtls-development/include/psa/ |
A D | crypto.h | 330 size_t bits); 749 size_t data_size, 1074 size_t hash_size, 1230 size_t mac_size, 2743 size_t tag_size, 3338 size_t *capacity); 3367 size_t capacity); 3424 size_t data_length); 3609 size_t peer_key_length); 3655 size_t output_length); [all …]
|
A D | crypto_se_driver.h | 108 const size_t MBEDTLS_PRIVATE(persistent_data_size); 222 size_t mac_size, 277 size_t mac_size, 306 size_t mac_length); 327 size_t MBEDTLS_PRIVATE(context_size); 496 size_t input_size, 514 size_t MBEDTLS_PRIVATE(context_size); 998 size_t data_length, 999 size_t *bits); 1111 uint8_t *pubkey, size_t pubkey_size, size_t *pubkey_length); [all …]
|
/mbedtls-development/tests/src/ |
A D | certs.c | 1527 const size_t mbedtls_test_ca_key_ec_len = 1642 const size_t mbedtls_test_ca_key_len = 1644 const size_t mbedtls_test_ca_pwd_len = 1646 const size_t mbedtls_test_ca_crt_len = 1649 const size_t mbedtls_test_srv_key_len = 1651 const size_t mbedtls_test_srv_pwd_len = 1653 const size_t mbedtls_test_srv_crt_len = 1656 const size_t mbedtls_test_cli_key_len = 1658 const size_t mbedtls_test_cli_pwd_len = 1660 const size_t mbedtls_test_cli_crt_len = [all …]
|
/mbedtls-development/tests/include/test/drivers/ |
A D | key_management.h | 71 uint8_t *key, size_t key_size, size_t *key_length ); 75 uint8_t *key, size_t key_size, size_t *key_length ); 80 uint8_t *data, size_t data_size, size_t *data_length ); 85 uint8_t *data, size_t data_size, size_t *data_length ); 90 uint8_t *data, size_t data_size, size_t *data_length ); 95 size_t data_length, 97 size_t key_buffer_size, 99 size_t *bits); 104 size_t data_length, 108 size_t *bits); [all …]
|
A D | cipher.h | 34 size_t forced_output_length; 54 const uint8_t *key, size_t key_length, 57 uint8_t *output, size_t output_size, size_t *output_length); 64 uint8_t *output, size_t output_size, size_t *output_length); 83 const uint8_t *iv, size_t iv_length); 88 uint8_t *output, size_t output_size, size_t *output_length); 92 uint8_t *output, size_t output_size, size_t *output_length); 102 uint8_t *output, size_t output_size, size_t *output_length); 109 uint8_t *output, size_t output_size, size_t *output_length); 133 uint8_t *output, size_t output_size, size_t *output_length); [all …]
|
A D | signature.h | 56 size_t key_length, 59 size_t input_length, 61 size_t signature_size, 67 size_t key_length, 70 size_t input_length, 78 size_t key_length, 81 size_t input_length, 88 size_t key_length, 91 size_t input_length, 100 uint8_t *signature, size_t signature_size, size_t *signature_length ); [all …]
|
A D | aead.h | 66 uint8_t *ciphertext, size_t ciphertext_size, size_t *ciphertext_length ); 75 uint8_t *plaintext, size_t plaintext_size, size_t *plaintext_length ); 92 size_t nonce_length ); 96 size_t ad_length, 102 size_t input_length ); 107 size_t input_length, 109 size_t output_size, 118 size_t tag_size, 119 size_t *tag_length ); 124 size_t plaintext_size, [all …]
|
A D | mac.h | 54 size_t input_length, 56 size_t mac_size, 57 size_t *mac_length ); 81 size_t mac_size, 82 size_t *mac_length ); 87 size_t mac_length ); 98 size_t input_length, 100 size_t mac_size, 101 size_t *mac_length ); 125 size_t mac_size, [all …]
|
/mbedtls-development/include/mbedtls/ |
A D | ccm.h | 183 unsigned char *tag, size_t tag_len ); 266 const unsigned char *iv, size_t iv_len, 267 const unsigned char *ad, size_t ad_len, 312 const unsigned char *iv, size_t iv_len, 313 const unsigned char *ad, size_t ad_len, 348 size_t iv_len ); 378 size_t total_ad_len, 379 size_t plaintext_len, 380 size_t tag_len ); 414 size_t ad_len ); [all …]
|
A D | pk.h | 251 size_t output_max_len ); 468 const unsigned char *sig, size_t sig_len, 534 const unsigned char *hash, size_t hash_len, 535 unsigned char *sig, size_t sig_size, size_t *sig_len, 569 const unsigned char *hash, size_t hash_len, 570 unsigned char *sig, size_t sig_size, size_t *sig_len, 592 const unsigned char *input, size_t ilen, 593 unsigned char *output, size_t *olen, size_t osize, 616 unsigned char *output, size_t *olen, size_t osize, 700 const unsigned char *key, size_t keylen, [all …]
|
A D | rsa.h | 386 unsigned char *N, size_t N_len, 387 unsigned char *P, size_t P_len, 599 size_t ilen, 626 size_t ilen, 661 size_t ilen, 699 size_t *olen, 702 size_t output_max_len ); 736 size_t *olen, 739 size_t output_max_len ); 778 size_t *olen, [all …]
|
A D | gcm.h | 167 size_t length, 169 size_t iv_len, 171 size_t add_len, 174 size_t tag_len, 211 size_t length, 213 size_t iv_len, 215 size_t add_len, 217 size_t tag_len, 237 size_t iv_len ); 261 size_t add_len ); [all …]
|
A D | ecdsa.h | 215 const unsigned char *buf, size_t blen, 254 const unsigned char *buf, size_t blen, 309 const unsigned char *hash, size_t hlen, 310 unsigned char *sig, size_t sig_size, size_t *slen, 311 int (*f_rng)(void *, unsigned char *, size_t), 356 const unsigned char *hash, size_t hlen, 357 unsigned char *sig, size_t sig_size, size_t *slen, 390 const unsigned char *hash, size_t hlen, 391 const unsigned char *sig, size_t slen ); 425 const unsigned char *hash, size_t hlen, [all …]
|
/mbedtls-development/tests/src/drivers/ |
A D | test_driver_signature.c | 52 size_t hash_length, in sign_hash() 54 size_t signature_size, in sign_hash() 117 size_t hash_length, in verify_hash() 175 size_t input_length, in mbedtls_test_transparent_signature_sign_message() 181 size_t hash_length; in mbedtls_test_transparent_signature_sign_message() 216 size_t key_length, in mbedtls_test_opaque_signature_sign_message() 219 size_t input_length, in mbedtls_test_opaque_signature_sign_message() 248 size_t hash_length; in mbedtls_test_transparent_signature_verify_message() 271 size_t key_length, in mbedtls_test_opaque_signature_verify_message() 295 uint8_t *signature, size_t signature_size, size_t *signature_length ) in mbedtls_test_transparent_signature_sign_hash() [all …]
|