/external/dropbear/libtomcrypt/src/pk/dsa/ |
D | dsa_export.c | 41 if (type != PK_PUBLIC && type != PK_PRIVATE) { in dsa_export() 45 flags[0] = (type != PK_PUBLIC) ? 1 : 0; in dsa_export()
|
D | dsa_import.c | 70 key->type = PK_PUBLIC; in dsa_import()
|
/external/dropbear/libtomcrypt/testprof/ |
D | rsa_test.c | 95 DO(rsa_export(buf, &len, PK_PUBLIC, &key)); in rsa_compat_test() 105 DO(rsa_export(buf, &len, PK_PUBLIC, &key)); in rsa_compat_test() 115 DO(rsa_export(buf, &len, PK_PUBLIC, &key)); in rsa_compat_test() 287 DO(rsa_export(tmp, &len2, PK_PUBLIC, &key)); in rsa_test()
|
D | ecc_test.c | 145 DO(ecc_export (buf[1], &y, PK_PUBLIC, &userb)); in ecc_tests() 192 DO(ecc_export(buf[0], &x, PK_PUBLIC, &usera)); in ecc_tests()
|
D | dsa_test.c | 58 DO(dsa_export(out2, &x, PK_PUBLIC, &key)); in dsa_test()
|
D | katja_test.c | 148 DO(katja_export(tmp, &len2, PK_PUBLIC, &key)); in katja_test()
|
/external/dropbear/libtomcrypt/src/pk/rsa/ |
D | rsa_import.c | 85 key->type = PK_PUBLIC; in rsa_import() 130 key->type = PK_PUBLIC; in rsa_import()
|
D | rsa_encrypt_key.c | 95 return ltc_mp.rsa_me(out, x, out, outlen, PK_PUBLIC, key); in rsa_encrypt_key_ex()
|
D | rsa_exptmod.c | 49 if (which != PK_PRIVATE && which != PK_PUBLIC) { in rsa_exptmod()
|
D | rsa_verify_hash.c | 82 if ((err = ltc_mp.rsa_me(sig, siglen, tmpbuf, &x, PK_PUBLIC, key)) != CRYPT_OK) { in rsa_verify_hash_ex()
|
/external/dropbear/libtomcrypt/src/pk/katja/ |
D | katja_encrypt_key.c | 80 return katja_exptmod(out, x, out, outlen, PK_PUBLIC, key); in katja_encrypt_key()
|
D | katja_import.c | 66 key->type = PK_PUBLIC; in katja_import()
|
D | katja_exptmod.c | 49 if (which != PK_PRIVATE && which != PK_PUBLIC) { in katja_exptmod()
|
/external/dropbear/libtomcrypt/src/pk/ecc/ |
D | ecc_ansi_x963_import.c | 91 key->type = PK_PUBLIC; in ecc_ansi_x963_import_ex()
|
D | ecc_encrypt_key.c | 89 if ((err = ecc_export(pub_expt, &pubkeysize, PK_PUBLIC, &pubkey)) != CRYPT_OK) { in ecc_encrypt_key()
|
D | ecc_import.c | 131 key->type = PK_PUBLIC; in ecc_import_ex()
|
/external/wpa_supplicant/ |
D | crypto_libtomcrypt.c | 441 if (pk->rsa.type != PK_PUBLIC) { in crypto_public_key_import() 585 return crypto_rsa_encrypt_pkcs1(2, &key->rsa, PK_PUBLIC, in, inlen, in crypto_public_key_encrypt_pkcs1_v15() 626 res = rsa_exptmod(crypt, crypt_len, plain, &len, PK_PUBLIC, in crypto_public_key_decrypt_pkcs1()
|
/external/dropbear/libtomcrypt/src/headers/ |
D | tomcrypt_pk.h | 4 PK_PUBLIC=0, enumerator
|
/external/dropbear/libtomcrypt/ |
D | crypt.tex | 336 if ((err = rsa_export(buffer, &x, PK_PUBLIC, &key)) != CRYPT_OK) { 6381 @param which PK_PUBLIC for public RSA and PK_PRIVATE for private RSA 6454 /** Type of key, PK_PRIVATE or PK_PUBLIC */
|
D | changes | 666 (e.g. not PK_PRIVATE or PK_PUBLIC)
|