Searched defs:bn_ctx (Results 1 - 6 of 6) sorted by relevance
/external/openssh/ |
H A D | sshbuf-getput-crypto.c | 195 BN_CTX *bn_ctx; local 199 if ((bn_ctx = BN_CTX_new()) == NULL) 202 NULL, 0, bn_ctx)) > SSHBUF_MAX_ECPOINT) { 203 BN_CTX_free(bn_ctx); 207 d, len, bn_ctx) != len) { 208 BN_CTX_free(bn_ctx); 211 BN_CTX_free(bn_ctx);
|
/external/vboot_reference/host/lib/ |
H A D | util_misc.c | 42 BN_CTX *bn_ctx = BN_CTX_new(); local 84 BN_exp(B, Big2, Big32, bn_ctx); /* B = 2^32 */ 87 BN_mod_inverse(N0inv, N, B, bn_ctx); 95 BN_exp(R, Big2, NnumBits, bn_ctx); 99 BN_mul(RRTemp, RR, R, bn_ctx); 100 BN_mod(RR, RRTemp, N, bn_ctx); 107 BN_mod(n, N, B, bn_ctx); /* n = N mod B */ 118 BN_mod(rr, RR, B, bn_ctx); /* rr = RR mod B */
|
/external/vboot_reference/utility/ |
H A D | dumpRSAPublicKey.c | 48 BN_CTX *bn_ctx = BN_CTX_new(); local 78 BN_exp(B, Big2, Big32, bn_ctx); /* B = 2^32 */ 81 BN_mod_inverse(N0inv, N, B, bn_ctx); 89 BN_exp(R, Big2, NnumBits, bn_ctx); 93 BN_mul(RRTemp, RR, R, bn_ctx); 94 BN_mod(RR, RRTemp, N, bn_ctx); 101 BN_mod(n, N, B, bn_ctx); /* n = N mod B */ 113 BN_mod(rr, RR, B, bn_ctx); /* rr = RR mod B */
|
/external/boringssl/src/crypto/bn/ |
H A D | montgomery.c | 297 const BIGNUM *mod, BN_CTX *bn_ctx) { 316 if (!BN_MONT_CTX_set(ctx, mod, bn_ctx)) { 296 BN_MONT_CTX_set_locked(BN_MONT_CTX **pmont, CRYPTO_MUTEX *lock, const BIGNUM *mod, BN_CTX *bn_ctx) argument
|
/external/boringssl/src/ssl/ |
H A D | s3_clnt.c | 1065 BN_CTX *bn_ctx = NULL; local 1245 ((bn_ctx = BN_CTX_new()) == NULL)) { 1252 CBS_len(&point), bn_ctx)) { 1272 BN_CTX_free(bn_ctx); 1273 bn_ctx = NULL; 1353 BN_CTX_free(bn_ctx); 1625 BN_CTX *bn_ctx = NULL; local 1881 bn_ctx = BN_CTX_new(); 1882 if (encodedPoint == NULL || bn_ctx == NULL) { 1891 POINT_CONVERSION_UNCOMPRESSED, encodedPoint, encoded_pt_len, bn_ctx); [all...] |
H A D | s3_srvr.c | 1246 BN_CTX *bn_ctx = NULL; local 1367 bn_ctx = BN_CTX_new(); 1368 if (encodedPoint == NULL || bn_ctx == NULL) { 1376 encodedPoint, encodedlen, bn_ctx); 1383 BN_CTX_free(bn_ctx); 1384 bn_ctx = NULL; 1516 BN_CTX_free(bn_ctx); 1606 BN_CTX *bn_ctx = NULL; local 1894 bn_ctx = BN_CTX_new(); 1895 if (bn_ctx [all...] |
Completed in 226 milliseconds