Searched refs:PK_PRIVATE (Results 1 – 25 of 45) sorted by relevance
12
/optee_os/core/lib/libtomcrypt/src/pk/ecc/ |
A D | ecc_export.c | 39 if (key->type != PK_PRIVATE && type == PK_PRIVATE) { in ecc_export() 46 if (type == PK_PRIVATE) { in ecc_export()
|
A D | ecc_get_key.c | 41 else if (type == PK_PRIVATE) { in ecc_get_key() 42 …if (key->type != PK_PRIVATE) return CRYPT_PK_TYPE_M… in ecc_get_key()
|
A D | ecc_export_openssl.c | 36 int flag_pri = type & PK_PRIVATE ? 1 : 0; in ecc_export_openssl() 42 if (key->type != PK_PRIVATE && flag_pri) return CRYPT_PK_TYPE_MISMATCH; in ecc_export_openssl()
|
A D | ecc_import_openssl.c | 43 err = ecc_set_key(bin_k, seq_priv[1].size, PK_PRIVATE, key); in _ecc_import_private_with_oid() 102 err = ecc_set_key(bin_k, len_k, PK_PRIVATE, key); in _ecc_import_private_with_curve()
|
A D | ecc_shared_secret.c | 42 if (private_key->type != PK_PRIVATE) { in ecc_shared_secret()
|
/optee_os/core/lib/libtomcrypt/src/pk/rsa/ |
A D | rsa_export.c | 38 if (type == PK_PRIVATE && key->type != PK_PRIVATE) { in rsa_export() 42 if (type == PK_PRIVATE) { in rsa_export()
|
A D | rsa_exptmod.c | 47 if (which == PK_PRIVATE && (key->type != PK_PRIVATE)) { in rsa_exptmod() 52 if (which != PK_PRIVATE && which != PK_PUBLIC) { in rsa_exptmod() 74 if (which == PK_PRIVATE) { in rsa_exptmod()
|
A D | rsa_set.c | 46 key->type = PK_PRIVATE; in rsa_set_key() 81 if (key->type != PK_PRIVATE) return CRYPT_PK_TYPE_MISMATCH; in rsa_set_factors() 119 if (key->type != PK_PRIVATE) return CRYPT_PK_TYPE_MISMATCH; in rsa_set_crt_params()
|
A D | rsa_decrypt_key.c | 82 if ((err = ltc_mp.rsa_me(in, inlen, tmp, &x, PK_PRIVATE, key)) != CRYPT_OK) { in rsa_decrypt_key_ex()
|
/optee_os/core/lib/libtomcrypt/src/pk/dsa/ |
A D | dsa_export.c | 40 if (type == PK_PRIVATE && key->type != PK_PRIVATE) { in dsa_export() 44 if (type == PK_PRIVATE) { in dsa_export()
|
A D | dsa_set.c | 86 if (type == PK_PRIVATE) { in dsa_set_key() 87 key->type = PK_PRIVATE; in dsa_set_key()
|
A D | dsa_import.c | 59 key->type = PK_PRIVATE; in dsa_import() 91 key->type = PK_PRIVATE; in dsa_import()
|
A D | dsa_generate_key.c | 39 key->type = PK_PRIVATE; in dsa_generate_key()
|
/optee_os/core/lib/libtomcrypt/src/pk/ec25519/ |
A D | ec25519_export.c | 45 if (which == PK_PRIVATE) { in ec25519_export() 46 if(key->type != PK_PRIVATE) return CRYPT_PK_INVALID_TYPE; in ec25519_export()
|
/optee_os/core/lib/libtomcrypt/src/pk/dh/ |
A D | dh_set.c | 99 if (type == PK_PRIVATE) { in dh_set_key() 100 key->type = PK_PRIVATE; in dh_set_key()
|
A D | dh_export_key.c | 32 k = (type == PK_PRIVATE) ? key->x : key->y; in dh_export_key()
|
A D | dh_export.c | 33 if (type == PK_PRIVATE) { in dh_export()
|
A D | dh_shared_secret.c | 36 if (private_key->type != PK_PRIVATE) { in dh_shared_secret()
|
A D | dh_generate_key.c | 71 key->type = PK_PRIVATE; in dh_generate_key()
|
/optee_os/core/lib/libtomcrypt/src/pk/ed25519/ |
A D | ed25519_make_key.c | 37 key->type = PK_PRIVATE; in ed25519_make_key()
|
A D | ed25519_set_key.c | 49 key->type = PK_PRIVATE; in ed25519_set_key()
|
A D | ed25519_sign.c | 41 if (private_key->type != PK_PRIVATE) return CRYPT_PK_INVALID_TYPE; in ed25519_sign()
|
/optee_os/core/lib/libtomcrypt/src/pk/x25519/ |
A D | x25519_shared_secret.c | 36 if(private_key->type != PK_PRIVATE) return CRYPT_PK_INVALID_TYPE; in x25519_shared_secret()
|
A D | x25519_make_key.c | 43 key->type = PK_PRIVATE; in x25519_make_key()
|
A D | x25519_set_key.c | 49 key->type = PK_PRIVATE; in x25519_set_key()
|
Completed in 14 milliseconds
12