Searched refs:PK_PRIVATE (Results 1 – 25 of 31) sorted by relevance
12
/external/dropbear/libtomcrypt/src/pk/dsa/ |
D | dsa_export.c | 37 if (type == PK_PRIVATE && key->type != PK_PRIVATE) { in dsa_export() 41 if (type != PK_PUBLIC && type != PK_PRIVATE) { in dsa_export() 47 if (type == PK_PRIVATE) { in dsa_export()
|
D | dsa_import.c | 59 key->type = PK_PRIVATE; in dsa_import()
|
D | dsa_decrypt_key.c | 45 if (key->type != PK_PRIVATE) { in dsa_decrypt_key()
|
D | dsa_sign_hash.c | 47 if (key->type != PK_PRIVATE) { in dsa_sign_hash_raw()
|
D | dsa_make_key.c | 116 key->type = PK_PRIVATE; in dsa_make_key()
|
/external/dropbear/libtomcrypt/src/pk/rsa/ |
D | rsa_exptmod.c | 44 if (which == PK_PRIVATE && (key->type != PK_PRIVATE)) { in rsa_exptmod() 49 if (which != PK_PRIVATE && which != PK_PUBLIC) { in rsa_exptmod() 64 if (which == PK_PRIVATE) { in rsa_exptmod()
|
D | rsa_export.c | 36 if (!(key->type == PK_PRIVATE) && (type == PK_PRIVATE)) { in rsa_export() 40 if (type == PK_PRIVATE) { in rsa_export()
|
D | rsa_decrypt_key.c | 83 if ((err = ltc_mp.rsa_me(in, inlen, tmp, &x, PK_PRIVATE, key)) != CRYPT_OK) { in rsa_decrypt_key_ex()
|
D | rsa_sign_hash.c | 127 return ltc_mp.rsa_me(out, x, out, outlen, PK_PRIVATE, key); in rsa_sign_hash_ex()
|
D | rsa_import.c | 117 key->type = PK_PRIVATE; in rsa_import()
|
D | rsa_make_key.c | 96 key->type = PK_PRIVATE; in rsa_make_key()
|
/external/dropbear/libtomcrypt/src/pk/katja/ |
D | katja_export.c | 38 if (!(key->type == PK_PRIVATE) && (type == PK_PRIVATE)) { in katja_export() 42 if (type == PK_PRIVATE) { in katja_export()
|
D | katja_exptmod.c | 44 if (which == PK_PRIVATE && (key->type != PK_PRIVATE)) { in katja_exptmod() 49 if (which != PK_PRIVATE && which != PK_PUBLIC) { in katja_exptmod() 64 if (which == PK_PRIVATE) { in katja_exptmod()
|
D | katja_decrypt_key.c | 79 if ((err = katja_exptmod(in, inlen, tmp, &x, PK_PRIVATE, key)) != CRYPT_OK) { in katja_decrypt_key()
|
D | katja_import.c | 63 key->type = PK_PRIVATE; in katja_import()
|
D | katja_make_key.c | 84 key->type = PK_PRIVATE; in katja_make_key()
|
/external/dropbear/libtomcrypt/src/pk/ecc/ |
D | ecc_export.c | 45 if (key->type != PK_PRIVATE && type == PK_PRIVATE) { in ecc_export() 56 if (type == PK_PRIVATE) { in ecc_export()
|
D | ecc_shared_secret.c | 48 if (private_key->type != PK_PRIVATE) { in ecc_shared_secret()
|
D | ecc_sign_hash.c | 51 if (key->type != PK_PRIVATE) { in ecc_sign_hash()
|
D | ecc_decrypt_key.c | 51 if (key->type != PK_PRIVATE) { in ecc_decrypt_key()
|
D | ecc_make_key.c | 103 key->type = PK_PRIVATE; in ecc_make_key_ex()
|
D | ecc_import.c | 119 key->type = PK_PRIVATE; in ecc_import_ex()
|
/external/dropbear/libtomcrypt/testprof/ |
D | dsa_test.c | 48 DO(dsa_export(out2, &x, PK_PRIVATE, &key)); in dsa_test()
|
D | rsa_test.c | 88 DO(rsa_export(buf, &len, PK_PRIVATE, &key)); in rsa_compat_test() 284 DO(rsa_export(tmp, &len2, PK_PRIVATE, &key)); in rsa_test()
|
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/ |
D | crypto_libtomcrypt.c | 472 if (pk->rsa.type != PK_PRIVATE) { in crypto_private_key_import() 594 return crypto_rsa_encrypt_pkcs1(1, &key->rsa, PK_PRIVATE, in, inlen, in crypto_private_key_sign_pkcs1()
|
12