Home
last modified time | relevance | path

Searched refs:rsa (Results 1 – 4 of 4) sorted by relevance

/developtools/hdc/src/common/
Dauth.cpp44 int AuthSign(void *rsa, const unsigned char *token, size_t tokenSize, void *sig)
68 int RSA2RSAPublicKey(RSA *rsa, RSAPublicKey *publicKey) in RSA2RSAPublicKey() argument
81 BN_copy(n, rsa->n); in RSA2RSAPublicKey()
82 publicKey->exponent = BN_get_word(rsa->e); in RSA2RSAPublicKey()
86 BIGNUM *n = (BIGNUM *)RSA_get0_n(rsa); in RSA2RSAPublicKey()
87 publicKey->exponent = BN_get_word(RSA_get0_e(rsa)); in RSA2RSAPublicKey()
90 BN_copy(n, rsa->n); in RSA2RSAPublicKey()
91 publicKey->exponent = BN_get_word(rsa->e); in RSA2RSAPublicKey()
96 if (RSA_size(rsa) != RSANUMBYTES) { in RSA2RSAPublicKey()
176 RSA *rsa = RSA_new(); in GenerateKey() local
[all …]
Dauth.h29 int AuthSign(void *rsa, const unsigned char *token, size_t tokenSize, void *sig);
/developtools/profiler/host/smartperf/ide/server/
Dmain.go103 pk, _ := rsa.GenerateKey(rand.Reader, 1024)
/developtools/smartperf_host/ide/server/
Dmain.go103 pk, _ := rsa.GenerateKey(rand.Reader, 1024)