Home
last modified time | relevance | path

Searched refs:clen (Results 1 – 8 of 8) sorted by relevance

/openssl/test/
H A Drsa_test.c216 int clen = 0; in rsa_setkey() local
222 clen = key1(*key, ctext); in rsa_setkey()
225 clen = key2(*key, ctext); in rsa_setkey()
228 clen = key3(*key, ctext); in rsa_setkey()
231 return clen; in rsa_setkey()
249 if (clen != NULL) in test_rsa_simple()
250 *clen = clentmp; in test_rsa_simple()
289 int clen = 0; in test_rsa_oaep() local
294 ctext_ex, &clen, &key)) in test_rsa_oaep()
306 for (n = 0; n < clen; ++n) { in test_rsa_oaep()
[all …]
H A Drsa_mp_test.c258 int clen = 0; in test_rsa_mp() local
270 if (!TEST_int_eq((clen = key2048_key(key)), 256) in test_rsa_mp()
271 || !TEST_int_eq((clen = param_set[i](key)), 256)) in test_rsa_mp()
279 if (!TEST_int_eq(num, clen)) in test_rsa_mp()
H A Ddhtest.c54 int i, alen, blen, clen, aout, bout, cout; in dh_test() local
219 clen = DH_size(c); in dh_test()
220 if (!TEST_ptr(cbuf = OPENSSL_malloc(clen)) in dh_test()
H A Ddestest.c725 int clen, clen_upd, clen_fin, plen, plen_upd, plen_fin, expect, bs, i; in test_des_key_wrap() local
763 clen = clen_upd + clen_fin; in test_des_key_wrap()
769 c_txt, clen))) in test_des_key_wrap()
/openssl/crypto/asn1/
H A Dx_long.c90 int clen, pad, i; in long_i2c() local
107 clen = num_bits_ulong(utmp); in long_i2c()
109 if (!(clen & 0x7)) in long_i2c()
115 clen = (clen + 7) >> 3; in long_i2c()
120 for (i = clen - 1; i >= 0; i--) { in long_i2c()
125 return clen + pad; in long_i2c()
/openssl/ssl/
H A Dt1_trce.c1281 size_t clen; in ssl_print_certificate() local
1289 if (msglen < clen + 3) in ssl_print_certificate()
1312 *pmsg += clen + 3; in ssl_print_certificate()
1313 *pmsglen -= clen + 3; in ssl_print_certificate()
1322 size_t clen; in ssl_print_raw_public_key() local
1342 *pmsg += clen + 3; in ssl_print_raw_public_key()
1343 *pmsglen -= clen + 3; in ssl_print_raw_public_key()
1351 size_t clen; in ssl_print_certificates() local
1375 while (clen > 0) { in ssl_print_certificates()
1393 size_t clen; in ssl_print_compressed_certificates() local
[all …]
/openssl/engines/
H A De_capi.c1231 DWORD err, idx, flags, buflen = 0, clen; in capi_list_containers() local
1238 if ((clen = MultiByteToWideChar(CP_ACP, 0, ctx->cspname, -1, in capi_list_containers()
1240 cspname = alloca(clen * sizeof(WCHAR)); in capi_list_containers()
1242 clen); in capi_list_containers()
1272 clen = buflen; in capi_list_containers()
1280 &clen, flags)) { in capi_list_containers()
1289 cname, clen, idx, flags); in capi_list_containers()
1290 if (!cname[0] && (clen == buflen)) { in capi_list_containers()
/openssl/crypto/modes/
H A Dgcm128.c1550 u64 clen = ctx->len.u[1] << 3; in CRYPTO_gcm128_finish() local
1576 clen = BSWAP8(clen); in CRYPTO_gcm128_finish()
1581 ctx->len.u[1] = clen; in CRYPTO_gcm128_finish()
1584 clen = (u64)GETU32(p + 8) << 32 | GETU32(p + 12); in CRYPTO_gcm128_finish()
1590 bitlen.lo = clen; in CRYPTO_gcm128_finish()
1596 ctx->Xi.u[1] ^= clen; in CRYPTO_gcm128_finish()

Completed in 33 milliseconds