Searched refs:PK_PRIVATE (Results 1 - 25 of 31) sorted by relevance
12
/external/dropbear/libtomcrypt/src/pk/katja/ |
H A D | katja_export.c | 24 @param type The type of exported key (PK_PRIVATE or PK_PUBLIC) 38 if (!(key->type == PK_PRIVATE) && (type == PK_PRIVATE)) { 42 if (type == PK_PRIVATE) {
|
H A D | katja_exptmod.c | 26 @param which Which exponent to use, e.g. PK_PRIVATE or PK_PUBLIC 44 if (which == PK_PRIVATE && (key->type != PK_PRIVATE)) { 49 if (which != PK_PRIVATE && which != PK_PUBLIC) { 64 if (which == PK_PRIVATE) {
|
H A D | katja_decrypt_key.c | 79 if ((err = katja_exptmod(in, inlen, tmp, &x, PK_PRIVATE, key)) != CRYPT_OK) {
|
H A D | katja_import.c | 63 key->type = PK_PRIVATE;
|
H A D | katja_make_key.c | 84 key->type = PK_PRIVATE;
|
/external/dropbear/libtomcrypt/src/pk/rsa/ |
H A D | rsa_export.c | 24 @param type The type of exported key (PK_PRIVATE or PK_PUBLIC) 36 if (!(key->type == PK_PRIVATE) && (type == PK_PRIVATE)) { 40 if (type == PK_PRIVATE) {
|
H A D | rsa_exptmod.c | 26 @param which Which exponent to use, e.g. PK_PRIVATE or PK_PUBLIC 44 if (which == PK_PRIVATE && (key->type != PK_PRIVATE)) { 49 if (which != PK_PRIVATE && which != PK_PUBLIC) { 64 if (which == PK_PRIVATE) {
|
H A D | rsa_decrypt_key.c | 83 if ((err = ltc_mp.rsa_me(in, inlen, tmp, &x, PK_PRIVATE, key)) != CRYPT_OK) {
|
H A D | rsa_sign_hash.c | 127 return ltc_mp.rsa_me(out, x, out, outlen, PK_PRIVATE, key);
|
H A D | rsa_import.c | 117 key->type = PK_PRIVATE;
|
H A D | rsa_make_key.c | 96 key->type = PK_PRIVATE;
|
/external/dropbear/libtomcrypt/src/pk/dsa/ |
H A D | dsa_export.c | 24 @param type The type of key to export (PK_PRIVATE or PK_PUBLIC) 37 if (type == PK_PRIVATE && key->type != PK_PRIVATE) { 41 if (type != PK_PUBLIC && type != PK_PRIVATE) { 47 if (type == PK_PRIVATE) {
|
H A D | dsa_import.c | 59 key->type = PK_PRIVATE;
|
H A D | dsa_decrypt_key.c | 45 if (key->type != PK_PRIVATE) {
|
H A D | dsa_make_key.c | 116 key->type = PK_PRIVATE;
|
H A D | dsa_sign_hash.c | 47 if (key->type != PK_PRIVATE) {
|
/external/dropbear/libtomcrypt/src/pk/ecc/ |
H A D | ecc_export.c | 30 @param type The type of key you want to export (PK_PRIVATE or PK_PUBLIC) 45 if (key->type != PK_PRIVATE && type == PK_PRIVATE) { 56 if (type == PK_PRIVATE) {
|
H A D | ecc_shared_secret.c | 48 if (private_key->type != PK_PRIVATE) {
|
H A D | ecc_sign_hash.c | 51 if (key->type != PK_PRIVATE) {
|
H A D | ecc_decrypt_key.c | 51 if (key->type != PK_PRIVATE) {
|
H A D | ecc_make_key.c | 103 key->type = PK_PRIVATE;
|
H A D | ecc_import.c | 119 key->type = PK_PRIVATE;
|
/external/dropbear/libtomcrypt/testprof/ |
H A D | dsa_test.c | 48 DO(dsa_export(out2, &x, PK_PRIVATE, &key));
|
H A D | katja_test.c | 145 DO(katja_export(tmp, &len2, PK_PRIVATE, &key));
|
/external/wpa_supplicant_8/hostapd/src/crypto/ |
H A D | crypto_libtomcrypt.c | 466 if (pk->rsa.type != PK_PRIVATE) { 588 return crypto_rsa_encrypt_pkcs1(1, &key->rsa, PK_PRIVATE, in, inlen,
|
Completed in 84 milliseconds
12