/external/dropbear/libtomcrypt/src/pk/dsa/ |
dsa_export.c | 24 @param type The type of key to export (PK_PRIVATE or PK_PUBLIC) 41 if (type != PK_PUBLIC && type != PK_PRIVATE) { 45 flags[0] = (type != PK_PUBLIC) ? 1 : 0;
|
dsa_import.c | 70 key->type = PK_PUBLIC;
|
/external/dropbear/libtomcrypt/src/pk/katja/ |
katja_encrypt_key.c | 80 return katja_exptmod(out, x, out, outlen, PK_PUBLIC, key);
|
katja_import.c | 66 key->type = PK_PUBLIC;
|
katja_exptmod.c | 26 @param which Which exponent to use, e.g. PK_PRIVATE or PK_PUBLIC 49 if (which != PK_PRIVATE && which != PK_PUBLIC) {
|
/external/dropbear/libtomcrypt/src/pk/rsa/ |
rsa_encrypt_key.c | 95 return ltc_mp.rsa_me(out, x, out, outlen, PK_PUBLIC, key);
|
rsa_import.c | 85 key->type = PK_PUBLIC; 130 key->type = PK_PUBLIC;
|
rsa_exptmod.c | 26 @param which Which exponent to use, e.g. PK_PRIVATE or PK_PUBLIC 49 if (which != PK_PRIVATE && which != PK_PUBLIC) {
|
rsa_verify_hash.c | 82 if ((err = ltc_mp.rsa_me(sig, siglen, tmpbuf, &x, PK_PUBLIC, key)) != CRYPT_OK) {
|
/external/dropbear/libtomcrypt/src/pk/ecc/ |
ecc_ansi_x963_import.c | 91 key->type = PK_PUBLIC;
|
ecc_encrypt_key.c | 89 if ((err = ecc_export(pub_expt, &pubkeysize, PK_PUBLIC, &pubkey)) != CRYPT_OK) {
|
ecc_import.c | 131 key->type = PK_PUBLIC;
|
/external/dropbear/libtomcrypt/testprof/ |
dsa_test.c | 58 DO(dsa_export(out2, &x, PK_PUBLIC, &key));
|
ecc_test.c | 145 DO(ecc_export (buf[1], &y, PK_PUBLIC, &userb)); 192 DO(ecc_export(buf[0], &x, PK_PUBLIC, &usera));
|
katja_test.c | 148 DO(katja_export(tmp, &len2, PK_PUBLIC, &key));
|
rsa_test.c | 95 DO(rsa_export(buf, &len, PK_PUBLIC, &key)); 105 DO(rsa_export(buf, &len, PK_PUBLIC, &key)); 115 DO(rsa_export(buf, &len, PK_PUBLIC, &key)); 287 DO(rsa_export(tmp, &len2, PK_PUBLIC, &key));
|
/external/wpa_supplicant_8/src/crypto/ |
crypto_libtomcrypt.c | 434 if (pk->rsa.type != PK_PUBLIC) { 579 return crypto_rsa_encrypt_pkcs1(2, &key->rsa, PK_PUBLIC, in, inlen, 620 res = rsa_exptmod(crypt, crypt_len, plain, &len, PK_PUBLIC,
|
/external/dropbear/libtomcrypt/src/headers/ |
tomcrypt_pk.h | 4 PK_PUBLIC=0, 19 /** Type of key, PK_PRIVATE or PK_PUBLIC */ 100 /** Type of key, PK_PRIVATE or PK_PUBLIC */ 193 /** Type of key, PK_PRIVATE or PK_PUBLIC */ 303 /** The key type, PK_PRIVATE or PK_PUBLIC */
|
/external/dropbear/libtomcrypt/ |
crypt.tex | 336 if ((err = rsa_export(buffer, &x, PK_PUBLIC, &key)) != CRYPT_OK) { [all...] |