Home
last modified time | relevance | path

Searched defs:key (Results 1 – 25 of 89) sorted by relevance

1234

/openthread-latest/tests/unit/
Dtest_flash.cpp65 for (uint16_t key = 0; key < 16; key++) in TestFlash() local
72 for (uint16_t key = 0; key < 16; key++) in TestFlash() local
81 for (uint16_t key = 0; key < 16; key++) in TestFlash() local
86 for (uint16_t key = 0; key < 16; key++) in TestFlash() local
153 for (uint16_t key = 0; key < 16; key++) in TestFlash() local
162 for (uint16_t key = 0; key < 16; key++) in TestFlash() local
172 uint16_t key = index & 0xf; in TestFlash() local
178 for (uint16_t key = 0; key < 16; key++) in TestFlash() local
Dtest_aes.cpp44 uint8_t key[] = { in TestMacBeaconFrame() local
95 uint8_t key[] = { in TestMacCommandFrame() local
/openthread-latest/third_party/mbedtls/repo/tests/src/
Dpsa_crypto_stubs.c25 psa_status_t psa_export_key(mbedtls_svc_key_id_t key, in psa_export_key()
37 psa_status_t psa_export_public_key(mbedtls_svc_key_id_t key, in psa_export_public_key()
49 psa_status_t psa_get_key_attributes(mbedtls_svc_key_id_t key, in psa_get_key_attributes()
66 mbedtls_svc_key_id_t *key) in psa_import_key()
Dpsa_exercise_key.c41 static int check_key_attributes_sanity(mbedtls_svc_key_id_t key, in check_key_attributes_sanity()
120 static int exercise_mac_key(mbedtls_svc_key_id_t key, in exercise_mac_key()
175 static int exercise_cipher_key(mbedtls_svc_key_id_t key, in exercise_cipher_key()
263 static int exercise_aead_key(mbedtls_svc_key_id_t key, in exercise_aead_key()
338 static int exercise_signature_key(mbedtls_svc_key_id_t key, in exercise_signature_key()
439 static int exercise_asymmetric_encryption_key(mbedtls_svc_key_id_t key, in exercise_asymmetric_encryption_key()
488 mbedtls_svc_key_id_t key, in mbedtls_test_psa_setup_key_derivation_wrap()
588 static int exercise_key_derivation_key(mbedtls_svc_key_id_t key, in exercise_key_derivation_key()
631 mbedtls_svc_key_id_t key, int key_destroyable) in mbedtls_test_psa_key_agreement_with_self()
685 mbedtls_svc_key_id_t key, in mbedtls_test_psa_raw_key_agreement_with_self()
[all …]
/openthread-latest/third_party/mbedtls/repo/library/
Dcipher_wrap.c234 static int aes_setkey_dec_wrap(void *ctx, const unsigned char *key, in aes_setkey_dec_wrap()
241 static int aes_setkey_enc_wrap(void *ctx, const unsigned char *key, in aes_setkey_enc_wrap()
479 static int xts_aes_setkey_enc_wrap(void *ctx, const unsigned char *key, in xts_aes_setkey_enc_wrap()
486 static int xts_aes_setkey_dec_wrap(void *ctx, const unsigned char *key, in xts_aes_setkey_dec_wrap()
570 static int gcm_aes_setkey_wrap(void *ctx, const unsigned char *key, in gcm_aes_setkey_wrap()
654 static int ccm_aes_setkey_wrap(void *ctx, const unsigned char *key, in ccm_aes_setkey_wrap()
815 static int camellia_setkey_dec_wrap(void *ctx, const unsigned char *key, in camellia_setkey_dec_wrap()
822 static int camellia_setkey_enc_wrap(void *ctx, const unsigned char *key, in camellia_setkey_enc_wrap()
1016 static int gcm_camellia_setkey_wrap(void *ctx, const unsigned char *key, in gcm_camellia_setkey_wrap()
1087 static int ccm_camellia_setkey_wrap(void *ctx, const unsigned char *key, in ccm_camellia_setkey_wrap()
[all …]
Dpsa_crypto_storage.c40 static psa_storage_uid_t psa_its_identifier_of_slot(mbedtls_svc_key_id_t key) in psa_its_identifier_of_slot()
77 const mbedtls_svc_key_id_t key, uint8_t *data, size_t data_size) in psa_crypto_storage_load()
97 int psa_is_key_present_in_storage(const mbedtls_svc_key_id_t key) in psa_is_key_present_in_storage()
128 static psa_status_t psa_crypto_storage_store(const mbedtls_svc_key_id_t key, in psa_crypto_storage_store()
166 psa_status_t psa_destroy_persistent_key(const mbedtls_svc_key_id_t key) in psa_destroy_persistent_key()
202 const mbedtls_svc_key_id_t key, in psa_crypto_storage_get_data_length()
362 mbedtls_svc_key_id_t key = attr->id; in psa_load_persistent_key() local
Dpsa_crypto_slot_management.c54 int psa_is_valid_key_id(mbedtls_svc_key_id_t key, int vendor_ok) in psa_is_valid_key_id()
107 mbedtls_svc_key_id_t key, psa_key_slot_t **p_slot) in psa_get_and_lock_key_slot_in_memory()
361 psa_status_t psa_get_and_lock_key_slot(mbedtls_svc_key_id_t key, in psa_get_and_lock_key_slot()
546 psa_status_t psa_open_key(mbedtls_svc_key_id_t key, psa_key_handle_t *handle) in psa_open_key()
615 psa_status_t psa_purge_key(mbedtls_svc_key_id_t key) in psa_purge_key()
Daesni.c268 const unsigned char *key) in aesni_setkey_enc_128()
326 const unsigned char *key) in aesni_setkey_enc_192()
386 const unsigned char *key) in aesni_setkey_enc_256()
639 const unsigned char *key) in aesni_setkey_enc_128()
690 const unsigned char *key) in aesni_setkey_enc_192()
749 const unsigned char *key) in aesni_setkey_enc_256()
818 const unsigned char *key, in mbedtls_aesni_setkey_enc()
Dssl_ticket.c69 mbedtls_ssl_ticket_key *key = ctx->keys + index; in ssl_ticket_gen_key() local
160 mbedtls_ssl_ticket_key * const key = ctx->keys + idx; in mbedtls_ssl_ticket_rotate() local
308 mbedtls_ssl_ticket_key *key; in mbedtls_ssl_ticket_write() local
425 mbedtls_ssl_ticket_key *key; in mbedtls_ssl_ticket_parse() local
Dpkwrite.c412 const mbedtls_pk_context *key) in mbedtls_pk_write_pubkey()
437 int mbedtls_pk_write_pubkey_der(const mbedtls_pk_context *key, unsigned char *buf, size_t size) in mbedtls_pk_write_pubkey_der()
504 int mbedtls_pk_write_key_der(const mbedtls_pk_context *key, unsigned char *buf, size_t size) in mbedtls_pk_write_key_der()
544 int mbedtls_pk_write_pubkey_pem(const mbedtls_pk_context *key, unsigned char *buf, size_t size) in mbedtls_pk_write_pubkey_pem()
571 int mbedtls_pk_write_key_pem(const mbedtls_pk_context *key, unsigned char *buf, size_t size) in mbedtls_pk_write_key_pem()
Dcmac.c157 const unsigned char *key, size_t keybits) in mbedtls_cipher_cmac_starts()
348 const unsigned char *key, size_t keylen, in mbedtls_cipher_cmac()
387 int mbedtls_aes_cmac_prf_128(const unsigned char *key, size_t key_length, in mbedtls_aes_cmac_prf_128()
731 const unsigned char *key, in cmac_test_subkeys()
825 const unsigned char *key, in cmac_test_wth_cipher()
Dpkparse.c430 unsigned char *key, size_t keylen, const unsigned char *end, in pk_parse_key_rfc8410_der()
605 const unsigned char *key, size_t keylen, in pk_parse_key_sec1_der()
744 const unsigned char *key, size_t keylen, in pk_parse_key_pkcs8_unencrypted_der()
867 unsigned char *key, size_t keylen, in mbedtls_pk_parse_key_pkcs8_encrypted_der()
974 const unsigned char *key, size_t keylen, in mbedtls_pk_parse_key()
1181 const unsigned char *key, size_t keylen) in mbedtls_pk_parse_public_key()
Dpsa_crypto.c1092 mbedtls_svc_key_id_t key, in psa_get_and_lock_key_slot_with_policy()
1158 mbedtls_svc_key_id_t key, in psa_get_and_lock_transparent_key_slot_with_policy()
1248 psa_status_t psa_destroy_key(mbedtls_svc_key_id_t key) in psa_destroy_key()
1398 psa_status_t psa_get_key_attributes(mbedtls_svc_key_id_t key, in psa_get_key_attributes()
1475 psa_status_t psa_export_key(mbedtls_svc_key_id_t key, in psa_export_key()
1590 psa_status_t psa_export_public_key(mbedtls_svc_key_id_t key, in psa_export_public_key()
1681 mbedtls_svc_key_id_t key = psa_get_key_id(attributes); in psa_validate_key_attributes() local
1882 mbedtls_svc_key_id_t *key) in psa_finish_key_creation()
2042 mbedtls_svc_key_id_t *key) in psa_import_key()
2136 mbedtls_svc_key_id_t key = MBEDTLS_SVC_KEY_ID_INIT; in mbedtls_psa_register_se_key() local
[all …]
Dblock_cipher.c123 const unsigned char *key, in mbedtls_block_cipher_setkey()
/openthread-latest/third_party/mbedtls/repo/tests/src/drivers/
Dtest_driver_cipher.c133 const uint8_t *key, size_t key_length, in mbedtls_test_transparent_cipher_encrypt_setup()
165 const uint8_t *key, size_t key_length, in mbedtls_test_transparent_cipher_decrypt_setup()
318 const uint8_t *key, size_t key_length, in mbedtls_test_opaque_cipher_encrypt()
340 const uint8_t *key, size_t key_length, in mbedtls_test_opaque_cipher_decrypt()
360 const uint8_t *key, size_t key_length, in mbedtls_test_opaque_cipher_encrypt_setup()
374 const uint8_t *key, size_t key_length, in mbedtls_test_opaque_cipher_decrypt_setup()
Dtest_driver_key_management.c129 const uint8_t *key, in mbedtls_test_opaque_wrap_key()
193 uint8_t *key, size_t key_size, size_t *key_length) in mbedtls_test_transparent_generate_key()
255 uint8_t *key, size_t key_size, size_t *key_length) in mbedtls_test_opaque_generate_key()
447 const uint8_t *key, size_t key_length, in mbedtls_test_opaque_export_key()
610 const uint8_t *key, size_t key_length, in mbedtls_test_opaque_export_public_key()
Dtest_driver_signature.c233 const uint8_t *key, in mbedtls_test_opaque_signature_sign_message()
300 const uint8_t *key, in mbedtls_test_opaque_signature_verify_message()
350 const uint8_t *key, size_t key_length, in mbedtls_test_opaque_signature_sign_hash()
388 const uint8_t *key, size_t key_length, in mbedtls_test_opaque_signature_verify_hash()
Dtest_driver_asymmetric_encryption.c114 const psa_key_attributes_t *attributes, const uint8_t *key, in mbedtls_test_opaque_asymmetric_encrypt()
148 const psa_key_attributes_t *attributes, const uint8_t *key, in mbedtls_test_opaque_asymmetric_decrypt()
/openthread-latest/third_party/mbedtls/repo/programs/psa/
Daead_demo.c119 psa_key_id_t *key, in aead_prepare()
168 static void aead_info(psa_key_id_t key, psa_algorithm_t alg) in aead_info()
191 static int aead_encrypt(psa_key_id_t key, psa_algorithm_t alg, in aead_encrypt()
233 psa_key_id_t key; in aead_demo() local
Dcrypto_examples.c84 static psa_status_t cipher_encrypt(psa_key_id_t key, in cipher_encrypt()
115 static psa_status_t cipher_decrypt(psa_key_id_t key, in cipher_decrypt()
157 psa_key_id_t key = 0; in cipher_example_encrypt_decrypt_aes_cbc_nopad_1_block() local
207 psa_key_id_t key = 0; in cipher_example_encrypt_decrypt_aes_cbc_pkcs7_multi() local
254 psa_key_id_t key = 0; in cipher_example_encrypt_decrypt_aes_ctr_multi() local
Dhmac_demo.c102 psa_key_id_t key = 0; in hmac_demo() local
/openthread-latest/src/core/mac/
Dmac_links.cpp176 const KeyMaterial *key = nullptr; in GetCurrentMacKey() local
210 const KeyMaterial *key = nullptr; in GetTemporaryMacKey() local
/openthread-latest/tests/toranj/cli/
Dtest-001-get-set.py62 key = '0123456789abcdeffecdba9876543210' variable
/openthread-latest/third_party/mbedtls/repo/programs/pkey/
Dkey_app_writer.c92 static int write_public_key(mbedtls_pk_context *key, const char *output_file) in write_public_key()
134 static int write_private_key(mbedtls_pk_context *key, const char *output_file) in write_private_key()
255 mbedtls_pk_context key; in main() local
/openthread-latest/third_party/mbedtls/repo/tests/include/test/
Drandom.h37 uint32_t key[16]; member

1234