OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:RSAPublicKey
(Results
1 - 25
of
86
) sorted by null
1
2
3
4
/external/vboot_reference/firmware/lib/cryptolib/include/
rsa.h
25
typedef struct
RSAPublicKey
{
31
}
RSAPublicKey
;
36
int RSAVerify(const
RSAPublicKey
*key,
45
* [key_blob] or
RSAPublicKey
structure [key]. One of [key_blob] or [key] must
56
const
RSAPublicKey
* key,
65
const
RSAPublicKey
* key,
80
/* Allocate a new
RSAPublicKey
structure and initialize its pointer fields to
82
RSAPublicKey
* RSAPublicKeyNew(void);
85
void RSAPublicKeyFree(
RSAPublicKey
* key);
92
RSAPublicKey
* RSAPublicKeyFromBuf(const uint8_t* buf, uint64_t len)
[
all
...]
/external/vboot_reference/utility/include/
verify_data.h
10
* returns it in a
RSAPublicKey
structure.
13
RSAPublicKey
* read_RSAkey(char *input_file);
/system/core/include/mincrypt/
rsa.h
40
typedef struct
RSAPublicKey
{
46
}
RSAPublicKey
;
48
int RSA_verify(const
RSAPublicKey
*key,
/external/vboot_reference/host/lib/include/
file_keys.h
26
RSAPublicKey
* RSAPublicKeyFromFile(const char* input_file);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
RSAPublicKey.java
14
public class
RSAPublicKey
20
public static
RSAPublicKey
getInstance(
27
public static
RSAPublicKey
getInstance(
30
if (obj instanceof
RSAPublicKey
)
32
return (
RSAPublicKey
)obj;
37
return new
RSAPublicKey
(ASN1Sequence.getInstance(obj));
43
public
RSAPublicKey
(
51
private
RSAPublicKey
(
79
*
RSAPublicKey
::= SEQUENCE {
/libcore/luni/src/test/java/tests/security/interfaces/
RSAPublicKeyTest.java
22
import java.security.interfaces.
RSAPublicKey
;
28
* java.security.interfaces.
RSAPublicKey
35
RSAPublicKey
key = (
RSAPublicKey
) gen.generatePublic(new RSAPublicKeySpec(
/libcore/luni/src/main/java/java/security/interfaces/
RSAPublicKey.java
26
public interface
RSAPublicKey
extends PublicKey, RSAKey {
/external/vboot_reference/firmware/lib/cryptolib/
rsa_utility.c
19
/* Total size needed by a
RSAPublicKey
buffer is =
29
RSAPublicKey
* RSAPublicKeyNew(void) {
30
RSAPublicKey
* key = (
RSAPublicKey
*) VbExMalloc(sizeof(
RSAPublicKey
));
38
void RSAPublicKeyFree(
RSAPublicKey
* key) {
48
RSAPublicKey
* RSAPublicKeyFromBuf(const uint8_t* buf, uint64_t len) {
49
RSAPublicKey
* key = RSAPublicKeyNew();
84
const
RSAPublicKey
* key,
89
RSAPublicKey
* verification_key = NULL
[
all
...]
rsa.c
18
static void subM(const
RSAPublicKey
*key, uint32_t *a) {
29
static int geM(const
RSAPublicKey
*key, uint32_t *a) {
40
static void montMulAdd(const
RSAPublicKey
*key,
65
static void montMul(const
RSAPublicKey
*key,
81
static void modpowF4(const
RSAPublicKey
*key,
130
int RSAVerify(const
RSAPublicKey
*key,
/frameworks/base/keystore/java/android/security/keystore/
AndroidKeyStoreRSAPublicKey.java
20
import java.security.interfaces.
RSAPublicKey
;
23
* {@link
RSAPublicKey
} backed by Android Keystore.
27
public class AndroidKeyStoreRSAPublicKey extends AndroidKeyStorePublicKey implements
RSAPublicKey
{
38
public AndroidKeyStoreRSAPublicKey(String alias,
RSAPublicKey
info) {
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/interfaces/
RSAPublicKeyTest.java
26
import java.security.interfaces.
RSAPublicKey
;
31
* Tests for <code>
RSAPublicKey
</code> class field
50
key.getSerVerUID(), //
RSAPublicKey
.serialVersionUID
54
public class checkRSAPublicKey implements
RSAPublicKey
{
56
return "
RSAPublicKey
";
/bootable/recovery/
verifier.h
36
RSAPublicKey
* rsa;
verifier.cpp
298
// DumpPublicKey: this is an
RSAPublicKey
struct as it would appear
316
// A Certificate is a pair of an
RSAPublicKey
and a particular hash
352
cert->rsa = (
RSAPublicKey
*)malloc(sizeof(
RSAPublicKey
));
361
cert->rsa = (
RSAPublicKey
*)malloc(sizeof(
RSAPublicKey
));
367
cert->rsa = (
RSAPublicKey
*)malloc(sizeof(
RSAPublicKey
));
373
cert->rsa = (
RSAPublicKey
*)malloc(sizeof(
RSAPublicKey
));
[
all
...]
/external/boringssl/src/crypto/rsa/
rsa_asn1.c
93
ASN1_SEQUENCE_cb(
RSAPublicKey
, rsa_cb) = {
96
} ASN1_SEQUENCE_END_cb(RSA,
RSAPublicKey
);
117
IMPLEMENT_ASN1_ENCODE_FUNCTIONS_const_fname(RSA,
RSAPublicKey
,
RSAPublicKey
);
120
return ASN1_item_dup(ASN1_ITEM_rptr(
RSAPublicKey
), (RSA *) rsa);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
BCRSAPublicKey.java
9
import java.security.interfaces.
RSAPublicKey
;
20
implements
RSAPublicKey
47
RSAPublicKey
key)
64
org.bouncycastle.asn1.pkcs.
RSAPublicKey
pubKey = org.bouncycastle.asn1.pkcs.
RSAPublicKey
.getInstance(info.parsePublicKey());
108
return KeyUtil.getEncodedSubjectPublicKeyInfo(algorithmIdentifier, new org.bouncycastle.asn1.pkcs.
RSAPublicKey
(getModulus(), getPublicExponent()));
123
if (!(o instanceof
RSAPublicKey
))
128
RSAPublicKey
key = (
RSAPublicKey
)o;
KeyFactorySpi.java
9
import java.security.interfaces.
RSAPublicKey
;
36
if (spec.isAssignableFrom(RSAPublicKeySpec.class) && key instanceof
RSAPublicKey
)
38
RSAPublicKey
k = (
RSAPublicKey
)key;
67
if (key instanceof
RSAPublicKey
)
69
return new BCRSAPublicKey((
RSAPublicKey
)key);
RSAUtil.java
5
import java.security.interfaces.
RSAPublicKey
;
42
RSAPublicKey
key)
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
JCERSAPublicKey.java
5
import java.security.interfaces.
RSAPublicKey
;
18
implements
RSAPublicKey
40
RSAPublicKey
key)
109
if (!(o instanceof
RSAPublicKey
))
114
RSAPublicKey
key = (
RSAPublicKey
)o;
/external/conscrypt/src/main/java/org/conscrypt/
OpenSSLRSAPublicKey.java
24
import java.security.interfaces.
RSAPublicKey
;
28
public class OpenSSLRSAPublicKey implements
RSAPublicKey
, OpenSSLKeyHolder {
64
static OpenSSLKey getInstance(
RSAPublicKey
rsaPublicKey
) throws InvalidKeyException {
67
rsaPublicKey
.getModulus().toByteArray(),
68
rsaPublicKey
.getPublicExponent().toByteArray(),
137
if (!(o instanceof
RSAPublicKey
)) {
143
RSAPublicKey
other = (
RSAPublicKey
) o;
ChainStrengthAnalyzer.java
23
import java.security.interfaces.
RSAPublicKey
;
53
if (pubkey instanceof
RSAPublicKey
) {
54
int modulusLength = ((
RSAPublicKey
) pubkey).getModulus().bitLength();
OpenSSLRSAKeyFactory.java
27
import java.security.interfaces.
RSAPublicKey
;
86
if (key instanceof
RSAPublicKey
&& RSAPublicKeySpec.class.isAssignableFrom(keySpec)) {
87
RSAPublicKey
rsaKey = (
RSAPublicKey
) key;
94
RSAPublicKey
rsaKey =
95
(
RSAPublicKey
) engineGeneratePublic(new X509EncodedKeySpec(encoded));
170
} else if (key instanceof
RSAPublicKey
) {
171
RSAPublicKey
rsaKey = (
RSAPublicKey
) key;
/external/vboot_reference/tests/
rsa_padding_test.c
17
static void TestSignatures(
RSAPublicKey
* key) {
40
static void TestRSAVerify(
RSAPublicKey
* key) {
67
RSAPublicKey
* key;
/external/vboot_reference/firmware/lib/include/
vboot_common.h
93
* Convert a public key to
RsaPublicKey
format. The returned key must be freed
98
RSAPublicKey
*PublicKeyToRSA(const VbPublicKey *key);
106
const
RSAPublicKey
*key);
113
const
RSAPublicKey
*key);
132
uint64_t size, const
RSAPublicKey
*key);
150
uint64_t size, const
RSAPublicKey
*key);
/external/google-tv-pairing-protocol/java/src/com/google/polo/pairing/
PoloChallengeResponse.java
25
import java.security.interfaces.
RSAPublicKey
;
89
if (!(clientPubKey instanceof
RSAPublicKey
) ||
90
!(serverPubKey instanceof
RSAPublicKey
)) {
94
RSAPublicKey
clientPubRsa = (
RSAPublicKey
) clientPubKey;
95
RSAPublicKey
serverPubRsa = (
RSAPublicKey
) serverPubKey;
/system/core/libmincrypt/tools/
DumpPublicKey.java
30
import java.security.interfaces.
RSAPublicKey
;
48
static int checkRSA(
RSAPublicKey
key, boolean useSHA256) throws Exception {
88
if (key instanceof
RSAPublicKey
) {
89
return checkRSA((
RSAPublicKey
) key, useSHA256);
106
static String printRSA(
RSAPublicKey
key, boolean useSHA256) throws Exception {
222
if (key instanceof
RSAPublicKey
) {
223
return printRSA((
RSAPublicKey
) key, useSHA256);
Completed in 5317 milliseconds
1
2
3
4