Home
last modified time | relevance | path

Searched refs:bi_ctx (Results 1 – 25 of 30) sorted by relevance

12

/dports/graphics/argyllcms/Argyll_V1.9.2/ccast/axTLS/
H A Drsa.c57 BI_CTX *bi_ctx; in RSA_priv_key_new() local
60 bi_ctx = rsa_ctx->bi_ctx; in RSA_priv_key_new()
83 BI_CTX *bi_ctx; in RSA_pub_key_new() local
88 bi_ctx = bi_initialize(); in RSA_pub_key_new()
91 rsa_ctx->bi_ctx = bi_ctx; in RSA_pub_key_new()
104 BI_CTX *bi_ctx; in RSA_free() local
108 bi_ctx = rsa_ctx->bi_ctx; in RSA_free()
111 bi_free(bi_ctx, rsa_ctx->e); in RSA_free()
130 bi_terminate(bi_ctx); in RSA_free()
198 BI_CTX *ctx = c->bi_ctx; in RSA_private()
[all …]
H A Dx509.c77 BI_CTX *bi_ctx; in x509_new() local
120 bi_ctx = x509_ctx->rsa_ctx->bi_ctx; in x509_new()
131 x509_ctx->digest = bi_import(bi_ctx, md5_dgst, MD5_SIZE); in x509_new()
140 x509_ctx->digest = bi_import(bi_ctx, sha_dgst, SHA1_SIZE); in x509_new()
149 x509_ctx->digest = bi_import(bi_ctx, md2_dgst, MD2_SIZE); in x509_new()
245 bi_free(x509_ctx->rsa_ctx->bi_ctx, x509_ctx->digest); in x509_free()
340 ctx = cert->rsa_ctx->bi_ctx; in x509_verify()
376 ctx = ca_cert_ctx->cert[i]->rsa_ctx->bi_ctx; in x509_verify()
402 ctx = next_cert->rsa_ctx->bi_ctx; in x509_verify()
H A Dcrypto.h186 BI_CTX *bi_ctx; member
H A Dgen_cert.c228 bi_export(rsa_ctx->bi_ctx, rsa_ctx->m, block, pub_key_size); in gen_pub_key2()
/dports/security/axTLS/axTLS/crypto/
H A Drsa.c57 BI_CTX *bi_ctx; in RSA_priv_key_new() local
60 bi_ctx = rsa_ctx->bi_ctx; in RSA_priv_key_new()
83 BI_CTX *bi_ctx; in RSA_pub_key_new() local
88 bi_ctx = bi_initialize(); in RSA_pub_key_new()
91 rsa_ctx->bi_ctx = bi_ctx; in RSA_pub_key_new()
104 BI_CTX *bi_ctx; in RSA_free() local
108 bi_ctx = rsa_ctx->bi_ctx; in RSA_free()
111 bi_free(bi_ctx, rsa_ctx->e); in RSA_free()
130 bi_terminate(bi_ctx); in RSA_free()
197 BI_CTX *ctx = c->bi_ctx; in RSA_private()
[all …]
H A Dcrypto.h186 BI_CTX *bi_ctx; member
/dports/lang/micropython/axtls-531cab9/crypto/
H A Drsa.c57 BI_CTX *bi_ctx; in RSA_priv_key_new() local
60 bi_ctx = rsa_ctx->bi_ctx; in RSA_priv_key_new()
83 BI_CTX *bi_ctx; in RSA_pub_key_new() local
88 bi_ctx = bi_initialize(); in RSA_pub_key_new()
91 rsa_ctx->bi_ctx = bi_ctx; in RSA_pub_key_new()
104 BI_CTX *bi_ctx; in RSA_free() local
108 bi_ctx = rsa_ctx->bi_ctx; in RSA_free()
111 bi_free(bi_ctx, rsa_ctx->e); in RSA_free()
130 bi_terminate(bi_ctx); in RSA_free()
211 BI_CTX *ctx = c->bi_ctx; in RSA_private()
[all …]
H A Dcrypto.h230 BI_CTX *bi_ctx; member
/dports/lang/gauche/Gauche-0.9.10/ext/tls/axTLS/crypto/
H A Drsa.c57 BI_CTX *bi_ctx; in RSA_priv_key_new() local
60 bi_ctx = rsa_ctx->bi_ctx; in RSA_priv_key_new()
83 BI_CTX *bi_ctx; in RSA_pub_key_new() local
88 bi_ctx = bi_initialize(); in RSA_pub_key_new()
91 rsa_ctx->bi_ctx = bi_ctx; in RSA_pub_key_new()
104 BI_CTX *bi_ctx; in RSA_free() local
108 bi_ctx = rsa_ctx->bi_ctx; in RSA_free()
111 bi_free(bi_ctx, rsa_ctx->e); in RSA_free()
130 bi_terminate(bi_ctx); in RSA_free()
211 BI_CTX *ctx = c->bi_ctx; in RSA_private()
[all …]
H A Dcrypto.h224 BI_CTX *bi_ctx; member
/dports/multimedia/kodi/xbmc-19.3-Matrix/lib/libUPnP/Neptune/ThirdParty/axTLS/crypto/
H A Drsa.c57 BI_CTX *bi_ctx; in RSA_priv_key_new() local
60 bi_ctx = rsa_ctx->bi_ctx; in RSA_priv_key_new()
83 BI_CTX *bi_ctx; in RSA_pub_key_new() local
88 bi_ctx = bi_initialize(); in RSA_pub_key_new()
91 rsa_ctx->bi_ctx = bi_ctx; in RSA_pub_key_new()
104 BI_CTX *bi_ctx; in RSA_free() local
108 bi_ctx = rsa_ctx->bi_ctx; in RSA_free()
111 bi_free(bi_ctx, rsa_ctx->e); in RSA_free()
130 bi_terminate(bi_ctx); in RSA_free()
197 BI_CTX *ctx = c->bi_ctx; in RSA_private()
[all …]
H A Dcrypto.h183 BI_CTX *bi_ctx; member
/dports/sysutils/syslinux/syslinux-6.03/gpxe/src/crypto/axtls/
H A Drsa.c48 BI_CTX *bi_ctx; in RSA_priv_key_new() local
51 bi_ctx = rsa_ctx->bi_ctx; in RSA_priv_key_new()
74 BI_CTX *bi_ctx = bi_initialize(); in RSA_pub_key_new() local
77 rsa_ctx->bi_ctx = bi_ctx; in RSA_pub_key_new()
90 BI_CTX *bi_ctx; in RSA_free() local
94 bi_ctx = rsa_ctx->bi_ctx; in RSA_free()
97 bi_free(bi_ctx, rsa_ctx->e); in RSA_free()
103 bi_free(bi_ctx, rsa_ctx->d); in RSA_free()
116 bi_terminate(bi_ctx); in RSA_free()
185 BI_CTX *ctx = c->bi_ctx; in RSA_private()
[all …]
H A Dcrypto.h154 BI_CTX *bi_ctx; member
/dports/audio/shairplay/shairplay-498bc5b/src/lib/
H A Drsakey.c30 BI_CTX *bi_ctx; /* bigint context */ member
77 rsakey->bi_ctx = bi_initialize(); in rsakey_init()
161 bi_free_mod(rsakey->bi_ctx, BIGINT_M_OFFSET); in rsakey_destroy()
164 bi_free(rsakey->bi_ctx, rsakey->e); in rsakey_destroy()
165 bi_free(rsakey->bi_ctx, rsakey->d); in rsakey_destroy()
173 bi_free(rsakey->bi_ctx, rsakey->dP); in rsakey_destroy()
174 bi_free(rsakey->bi_ctx, rsakey->dQ); in rsakey_destroy()
175 bi_free(rsakey->bi_ctx, rsakey->qInv); in rsakey_destroy()
177 bi_terminate(rsakey->bi_ctx); in rsakey_destroy()
188 return bi_crt(rsakey->bi_ctx, msg, in rsakey_modpow()
[all …]
/dports/lang/micropython/axtls-531cab9/ssl/test/
H A Dssltest.c670 BI_CTX *bi_ctx; in RSA_test() local
687 bi_ctx = rsa_ctx->bi_ctx; in RSA_test()
2453 BI_CTX *bi_ctx; in main() local
2476 if (AES_test(bi_ctx)) in main()
2483 if (MD5_test(bi_ctx)) in main()
2490 if (SHA1_test(bi_ctx)) in main()
2497 if (SHA256_test(bi_ctx)) in main()
2504 if (SHA384_test(bi_ctx)) in main()
2511 if (SHA512_test(bi_ctx)) in main()
2518 if (HMAC_test(bi_ctx)) in main()
[all …]
H A Dperf_bigint.c70 ctx = rsa_ctx->bi_ctx; in main()
108 ctx = rsa_ctx->bi_ctx; in main()
148 ctx = rsa_ctx->bi_ctx; in main()
191 ctx = rsa_ctx->bi_ctx; in main()
/dports/lang/gauche/Gauche-0.9.10/ext/tls/axTLS/ssl/test/
H A Dssltest.c684 BI_CTX *bi_ctx; in RSA_test() local
701 bi_ctx = rsa_ctx->bi_ctx; in RSA_test()
2474 BI_CTX *bi_ctx; in main() local
2507 if (AES_test(bi_ctx)) in main()
2514 if (MD5_test(bi_ctx)) in main()
2521 if (SHA1_test(bi_ctx)) in main()
2528 if (SHA256_test(bi_ctx)) in main()
2535 if (SHA384_test(bi_ctx)) in main()
2542 if (SHA512_test(bi_ctx)) in main()
2549 if (HMAC_test(bi_ctx)) in main()
[all …]
H A Dperf_bigint.c70 ctx = rsa_ctx->bi_ctx; in main()
108 ctx = rsa_ctx->bi_ctx; in main()
148 ctx = rsa_ctx->bi_ctx; in main()
191 ctx = rsa_ctx->bi_ctx; in main()
/dports/security/axTLS/axTLS/ssl/test/
H A Dssltest.c514 BI_CTX *bi_ctx; in RSA_test() local
529 bi_ctx = rsa_ctx->bi_ctx; in RSA_test()
2122 BI_CTX *bi_ctx; in main() local
2143 bi_ctx = bi_initialize(); in main()
2145 if (AES_test(bi_ctx)) in main()
2152 if (RC4_test(bi_ctx)) in main()
2159 if (MD5_test(bi_ctx)) in main()
2166 if (SHA1_test(bi_ctx)) in main()
2173 if (HMAC_test(bi_ctx)) in main()
2180 if (BIGINT_test(bi_ctx)) in main()
[all …]
H A Dperf_bigint.c70 ctx = rsa_ctx->bi_ctx; in main()
108 ctx = rsa_ctx->bi_ctx; in main()
148 ctx = rsa_ctx->bi_ctx; in main()
191 ctx = rsa_ctx->bi_ctx; in main()
/dports/multimedia/kodi/xbmc-19.3-Matrix/lib/libUPnP/Neptune/ThirdParty/axTLS/ssl/
H A Dx509.c77 BI_CTX *bi_ctx; in x509_new() local
120 bi_ctx = x509_ctx->rsa_ctx->bi_ctx; in x509_new()
131 x509_ctx->digest = bi_import(bi_ctx, md5_dgst, MD5_SIZE); in x509_new()
140 x509_ctx->digest = bi_import(bi_ctx, sha_dgst, SHA1_SIZE); in x509_new()
146 x509_ctx->digest = bi_import(bi_ctx, sha_dgst, SHA256_SIZE); in x509_new()
155 x509_ctx->digest = bi_import(bi_ctx, md2_dgst, MD2_SIZE); in x509_new()
267 bi_free(x509_ctx->rsa_ctx->bi_ctx, x509_ctx->digest); in x509_free()
361 ctx = cert->rsa_ctx->bi_ctx; in x509_verify()
397 ctx = ca_cert->rsa_ctx->bi_ctx; in x509_verify()
420 ctx = next_cert->rsa_ctx->bi_ctx; in x509_verify()
/dports/security/axTLS/axTLS/ssl/
H A Dx509.c77 BI_CTX *bi_ctx; in x509_new() local
120 bi_ctx = x509_ctx->rsa_ctx->bi_ctx; in x509_new()
131 x509_ctx->digest = bi_import(bi_ctx, md5_dgst, MD5_SIZE); in x509_new()
140 x509_ctx->digest = bi_import(bi_ctx, sha_dgst, SHA1_SIZE); in x509_new()
149 x509_ctx->digest = bi_import(bi_ctx, md2_dgst, MD2_SIZE); in x509_new()
245 bi_free(x509_ctx->rsa_ctx->bi_ctx, x509_ctx->digest); in x509_free()
339 ctx = cert->rsa_ctx->bi_ctx; in x509_verify()
375 ctx = ca_cert_ctx->cert[i]->rsa_ctx->bi_ctx; in x509_verify()
401 ctx = next_cert->rsa_ctx->bi_ctx; in x509_verify()
/dports/lang/micropython/axtls-531cab9/ssl/
H A Dx509.c64 BI_CTX *bi_ctx; in x509_new() local
108 bi_ctx = x509_ctx->rsa_ctx->bi_ctx; in x509_new()
120 x509_ctx->digest = bi_import(bi_ctx, md5_dgst, MD5_SIZE); in x509_new()
131 x509_ctx->digest = bi_import(bi_ctx, sha_dgst, SHA1_SIZE); in x509_new()
142 x509_ctx->digest = bi_import(bi_ctx, sha256_dgst, SHA256_SIZE); in x509_new()
153 x509_ctx->digest = bi_import(bi_ctx, sha384_dgst, SHA384_SIZE); in x509_new()
164 x509_ctx->digest = bi_import(bi_ctx, sha512_dgst, SHA512_SIZE); in x509_new()
353 bi_free(x509_ctx->rsa_ctx->bi_ctx, x509_ctx->digest); in x509_free()
498 ctx = cert->rsa_ctx->bi_ctx; in x509_verify()
571 ctx = ca_cert_ctx->cert[i]->rsa_ctx->bi_ctx; in x509_verify()
[all …]
/dports/lang/gauche/Gauche-0.9.10/ext/tls/axTLS/ssl/
H A Dx509.c64 BI_CTX *bi_ctx; in x509_new() local
108 bi_ctx = x509_ctx->rsa_ctx->bi_ctx; in x509_new()
120 x509_ctx->digest = bi_import(bi_ctx, md5_dgst, MD5_SIZE); in x509_new()
131 x509_ctx->digest = bi_import(bi_ctx, sha_dgst, SHA1_SIZE); in x509_new()
142 x509_ctx->digest = bi_import(bi_ctx, sha256_dgst, SHA256_SIZE); in x509_new()
153 x509_ctx->digest = bi_import(bi_ctx, sha384_dgst, SHA384_SIZE); in x509_new()
164 x509_ctx->digest = bi_import(bi_ctx, sha512_dgst, SHA512_SIZE); in x509_new()
353 bi_free(x509_ctx->rsa_ctx->bi_ctx, x509_ctx->digest); in x509_free()
498 ctx = cert->rsa_ctx->bi_ctx; in x509_verify()
571 ctx = ca_cert_ctx->cert[i]->rsa_ctx->bi_ctx; in x509_verify()
[all …]

12