Home
last modified time | relevance | path

Searched refs:keypair (Results 1 – 7 of 7) sorted by relevance

/openthread-2.7.6/src/core/crypto/
Decdsa.cpp121 mbedtls_ecp_keypair * keypair; in Sign() local
133 keypair = mbedtls_pk_ec(pk); in Sign()
135 ret = mbedtls_ecdsa_from_keypair(&ecdsa, keypair); in Sign()
213 mbedtls_ecp_keypair * keypair; in Sign() local
227 keypair = mbedtls_pk_ec(pkCtx); in Sign()
228 OT_ASSERT(keypair != nullptr); in Sign()
230 VerifyOrExit(mbedtls_ecdsa_from_keypair(&ctx, keypair) == 0, error = kErrorFailed); in Sign()
/openthread-2.7.6/third_party/mbedtls/repo/tests/suites/
Dtest_suite_psa_crypto_slot_management.data49 Persistent slot: ECP keypair (ECDSA, exportable), close
53 Persistent slot: ECP keypair (ECDSA, exportable), close+restart
57 Persistent slot: ECP keypair (ECDSA, exportable), purge
61 Persistent slot: ECP keypair (ECDSA, exportable), restart
65 Persistent slot: ECP keypair (ECDH+ECDSA, exportable), close
69 Persistent slot: ECP keypair (ECDH+ECDSA, exportable), close+restart
73 Persistent slot: ECP keypair (ECDH+ECDSA, exportable), purge
77 Persistent slot: ECP keypair (ECDH+ECDSA, exportable), restart
Dtest_suite_psa_crypto_persistent_key.data72 import/export persistent key RSA keypair: good, 1024-bit
83 import/export persistent key RSA keypair file not exist: 1024-bit
98 import/export persistent key RSA keypair with restart: good, 1024-bit
109 import/export persistent key RSA keypair file not exist with restart: 1024-bit
Dtest_suite_psa_crypto.data89 PSA import/export RSA keypair: good, 1024-bit
93 PSA import/export RSA keypair: good, larger buffer (+1 byte)
97 PSA import/export RSA keypair: good, larger buffer (*2-1)
101 PSA import/export RSA keypair: good, larger buffer (*2)
105 PSA import/export RSA keypair: good, larger buffer (*2+1)
109 PSA import/export RSA keypair: export buffer too small
113 PSA import/export RSA keypair: trailing garbage ignored
117 PSA import RSA keypair: truncated
121 PSA import RSA keypair: public key
129 PSA import RSA keypair: valid key but EC
[all …]
Dtest_suite_ecp.data267 ECP gen keypair [#1]
271 ECP gen keypair [#2]
275 ECP gen keypair wrapper
Dtest_suite_psa_crypto.function176 int keypair )
199 if( keypair )
218 if( keypair )
1624 void import_rsa_made_up( int bits_arg, int keypair, int expected_status_arg )
1631 keypair ? PSA_KEY_TYPE_RSA_KEY_PAIR : PSA_KEY_TYPE_RSA_PUBLIC_KEY;
1633 keypair ? bits * 9 / 16 + 80 : bits / 8 + 20;
1644 bits, keypair ) ) >= 0 );
/openthread-2.7.6/third_party/mbedtls/repo/
DChangeLog1605 after keypair generation.