| /src/crypto/external/apache2/openssl/dist/test/ |
| evp_skey_test.c | 84 || !TEST_int_gt(EVP_CipherInit_SKEY(ctx, fake_cipher, key, NULL, 0, 1, NULL), 0)) 88 if (!TEST_int_gt(EVP_SKEY_export(key, OSSL_SKEYMGMT_SELECT_SECRET_KEY, 94 if (!TEST_int_gt(EVP_SKEY_get0_raw_key(key, &export, &export_len), 0) 152 if (!TEST_int_gt(EVP_SKEY_get0_raw_key(skey, &export_key, &export_length), 0) 159 || !TEST_int_gt(EVP_CipherInit_SKEY(ctx, aes_cbc, skey, aes_iv, IV_SIZE, 1, NULL), 0) 160 || !TEST_int_gt(EVP_CipherUpdate(ctx, encrypted_skey, &enc_len, data, DATA_SIZE), 0) 161 || !TEST_int_gt(EVP_CipherFinal(ctx, encrypted_skey + enc_len, &fin_len), 0)) 169 if (!TEST_int_gt(EVP_CipherInit_ex2(ctx, aes_cbc, aes_key, aes_iv, 1, NULL), 0) 170 || !TEST_int_gt(EVP_CipherUpdate(ctx, encrypted_raw, &enc_len, data, DATA_SIZE), 0) 171 || !TEST_int_gt(EVP_CipherFinal(ctx, encrypted_raw + enc_len, &fin_len), 0 [all...] |
| bio_enc_test.c | 47 if (!TEST_int_gt(RAND_bytes(inp, DATA_SIZE), 0)) 283 || !TEST_int_gt((key_size = EVP_CIPHER_key_length(cipher)), 0) 284 || !TEST_int_gt((iv_size = EVP_CIPHER_iv_length(cipher)), 0) 290 || !TEST_int_gt(BIO_get_cipher_ctx(cbio, &ctx), 0) 292 || !TEST_int_gt(BIO_write(cbio, pbuf, sizeof(pbuf) - 1), 0) 293 || !TEST_int_gt(BIO_flush(cbio), 0) 294 || !TEST_int_gt(EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_GCM_GET_TAG, 304 if (!TEST_int_gt(BIO_reset(mem), 0) 309 || !TEST_int_gt(BIO_get_cipher_ctx(cbio, &ctx), 0) 311 || !TEST_int_gt(EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_GCM_SET_TAG [all...] |
| bio_core_test.c | 87 if (!TEST_int_gt(BIO_puts(corebio.bio, msg), 0) 90 || !TEST_int_gt(BIO_gets(cbio, buf, sizeof(buf)), 0) 96 if (!TEST_int_gt(BIO_write(cbio, msg, strlen(msg) + 1), 0) 97 || !TEST_int_gt(BIO_read(cbio, buf, sizeof(buf)), 0)
|
| x509_dup_cert_test.c | 46 if (!TEST_int_gt(n, 0))
|
| bio_memleak_test.c | 57 if (!TEST_int_gt(BIO_set_close(bio, BIO_NOCLOSE), 0)) 85 if (!TEST_int_gt(BIO_get_mem_ptr(bio, &bufmem), 0)) 93 if (!TEST_int_gt(BIO_reset(bio), 0)) 120 if (!TEST_int_gt(BIO_get_mem_ptr(bio, &bufmem), 0)) 134 if (!TEST_int_gt(BIO_reset(bio2), 0)) 165 if (!TEST_int_gt(BIO_reset(bio), 0)) 202 if (!TEST_int_gt(BIO_reset(bio), 0)) 211 if (!TEST_int_gt(BIO_reset(bio), 0))
|
| enginetest.c | 272 if (!TEST_int_gt(EVP_PKEY_encrypt_init(ctx), 0) 273 || !TEST_int_gt(EVP_PKEY_encrypt(ctx, tmp, &len, pt, sizeof(pt)), 0) 315 if (!TEST_int_gt(EVP_PKEY_encrypt_init(ctx), 0) 316 || !TEST_int_gt(EVP_PKEY_encrypt(ctx, tmp, &len, pt, sizeof(pt)), 0) 326 || !TEST_int_gt(EVP_PKEY_encrypt_init(ctx), 0) 327 || !TEST_int_gt(EVP_PKEY_encrypt(ctx, tmp, &len, pt, sizeof(pt)), 0) 342 || !TEST_int_gt(EVP_PKEY_encrypt_init(ctx), 0) 343 || !TEST_int_gt(EVP_PKEY_encrypt(ctx, tmp, &len, pt, sizeof(pt)), 0)
|
| drbgtest.c | 533 if (!TEST_int_gt(RAND_bytes(random, 1), 0) || !TEST_int_gt(RAND_priv_bytes(random, 1), 0)) 828 || !TEST_int_gt(reseed_counter(z), zreseed)) 837 || !TEST_int_gt(reseed_counter(x), xreseed) 838 || !TEST_int_gt(reseed_counter(y), yreseed) 839 || !TEST_int_gt(reseed_counter(z), zreseed)) 851 || !TEST_int_gt(reseed_counter(z), zreseed)) 860 || !TEST_int_gt(reseed_counter(x), xreseed) 861 || !TEST_int_gt(reseed_counter(y), yreseed) 862 || !TEST_int_gt(reseed_counter(z), zreseed [all...] |
| ml_kem_evp_extra_test.c | 122 if (!TEST_int_gt(EVP_PKEY_copy_parameters(bkey, akey), 0)) 143 if (!TEST_int_gt(EVP_PKEY_encapsulate_init(ctx, NULL), 0)) 146 if (!TEST_int_gt(EVP_PKEY_encapsulate(ctx, NULL, &wrpkeylen, NULL, 159 if (!TEST_int_gt(EVP_PKEY_encapsulate(ctx, wrpkey, &wrpkeylen, bgenkey, 171 if (!TEST_int_gt(EVP_PKEY_decapsulate_init(ctx, NULL), 0)) 174 if (!TEST_int_gt(EVP_PKEY_decapsulate(ctx, NULL, &agenkeylen, wrpkey, 186 if (!TEST_int_gt(EVP_PKEY_decapsulate(ctx, agenkey, &agenkeylen, wrpkey, 285 if (!TEST_int_gt(EVP_PKEY_copy_parameters(bkey, akey), 0)) 302 if (!TEST_int_gt(EVP_PKEY_encapsulate_init(ctx, NULL), 0)) 304 if (!TEST_int_gt(EVP_PKEY_encapsulate(ctx, NULL, &wrpkeylen, NULL [all...] |
| uitest.c | 81 if (TEST_int_gt(password_callback(pass, sizeof(pass), 0, &cb_data), 0)
|
| /src/crypto/external/bsd/openssl/dist/test/ |
| rand_test.c | 30 || !TEST_int_gt(RAND_priv_bytes(outbuf, sizeof(outbuf)), 0) 33 || !TEST_int_gt(RAND_priv_bytes(outbuf, sizeof(outbuf)), 0) 41 || !TEST_int_gt(RAND_priv_bytes(outbuf, sizeof(outbuf)), 0)
|
| bio_core_test.c | 87 if (!TEST_int_gt(BIO_puts(corebio.bio, msg), 0) 90 || !TEST_int_gt(BIO_gets(cbio, buf, sizeof(buf)), 0) 96 if (!TEST_int_gt(BIO_write(cbio, msg, strlen(msg) + 1), 0) 97 || !TEST_int_gt(BIO_read(cbio, buf, sizeof(buf)), 0)
|
| bio_memleak_test.c | 57 if (!TEST_int_gt(BIO_set_close(bio, BIO_NOCLOSE), 0)) 85 if (!TEST_int_gt(BIO_get_mem_ptr(bio, &bufmem), 0)) 93 if (!TEST_int_gt(BIO_reset(bio), 0)) 120 if (!TEST_int_gt(BIO_get_mem_ptr(bio, &bufmem), 0)) 134 if (!TEST_int_gt(BIO_reset(bio2), 0)) 165 if (!TEST_int_gt(BIO_reset(bio), 0)) 202 if (!TEST_int_gt(BIO_reset(bio), 0)) 211 if (!TEST_int_gt(BIO_reset(bio), 0))
|
| x509_dup_cert_test.c | 48 if (!TEST_int_gt(n, 0))
|
| conf_include_test.c | 79 if (!TEST_int_gt(NCONF_load_bio(conf, in, &errline), 0) 91 if (!TEST_int_gt(CONF_modules_load(conf, NULL, 0), 0)) {
|
| enginetest.c | 273 if (!TEST_int_gt(EVP_PKEY_encrypt_init(ctx), 0) 274 || !TEST_int_gt(EVP_PKEY_encrypt(ctx, tmp, &len, pt, sizeof(pt)), 0) 316 if (!TEST_int_gt(EVP_PKEY_encrypt_init(ctx), 0) 317 || !TEST_int_gt(EVP_PKEY_encrypt(ctx, tmp, &len, pt, sizeof(pt)), 0) 327 || !TEST_int_gt(EVP_PKEY_encrypt_init(ctx), 0) 328 || !TEST_int_gt(EVP_PKEY_encrypt(ctx, tmp, &len, pt, sizeof(pt)), 0) 343 || !TEST_int_gt(EVP_PKEY_encrypt_init(ctx), 0) 344 || !TEST_int_gt(EVP_PKEY_encrypt(ctx, tmp, &len, pt, sizeof(pt)), 0)
|
| drbgtest.c | 542 if (!TEST_int_gt(RAND_bytes(random, 1), 0) || !TEST_int_gt(RAND_priv_bytes(random, 1), 0)) 838 || !TEST_int_gt(reseed_counter(z), zreseed)) 847 || !TEST_int_gt(reseed_counter(x), xreseed) 848 || !TEST_int_gt(reseed_counter(y), yreseed) 849 || !TEST_int_gt(reseed_counter(z), zreseed)) 861 || !TEST_int_gt(reseed_counter(z), zreseed)) 870 || !TEST_int_gt(reseed_counter(x), xreseed) 871 || !TEST_int_gt(reseed_counter(y), yreseed) 872 || !TEST_int_gt(reseed_counter(z), zreseed [all...] |
| /src/crypto/external/bsd/openssl.old/dist/test/ |
| bio_memleak_test.c | 59 if (!TEST_int_gt(BIO_set_close(bio, BIO_NOCLOSE), 0)) 87 if (!TEST_int_gt(BIO_get_mem_ptr(bio, &bufmem), 0)) 95 if (!TEST_int_gt(BIO_reset(bio), 0)) 122 if (!TEST_int_gt(BIO_get_mem_ptr(bio, &bufmem), 0)) 136 if (!TEST_int_gt(BIO_reset(bio2), 0)) 167 if (!TEST_int_gt(BIO_reset(bio), 0)) 204 if (!TEST_int_gt(BIO_reset(bio), 0)) 213 if (!TEST_int_gt(BIO_reset(bio), 0))
|
| x509_dup_cert_test.c | 40 if (!TEST_int_gt(n, 0)) {
|
| enginetest.c | 267 if (!TEST_int_gt(EVP_PKEY_encrypt_init(ctx), 0) 268 || !TEST_int_gt(EVP_PKEY_encrypt(ctx, tmp, &len, pt, sizeof(pt)), 0) 310 if (!TEST_int_gt(EVP_PKEY_encrypt_init(ctx), 0) 311 || !TEST_int_gt(EVP_PKEY_encrypt(ctx, tmp, &len, pt, sizeof(pt)), 0) 321 || !TEST_int_gt(EVP_PKEY_encrypt_init(ctx), 0) 322 || !TEST_int_gt(EVP_PKEY_encrypt(ctx, tmp, &len, pt, sizeof(pt)), 0) 337 || !TEST_int_gt(EVP_PKEY_encrypt_init(ctx), 0) 338 || !TEST_int_gt(EVP_PKEY_encrypt(ctx, tmp, &len, pt, sizeof(pt)), 0)
|
| conf_include_test.c | 76 if (!TEST_int_gt(NCONF_load_bio(conf, in, &errline), 0) 88 if (!TEST_int_gt(CONF_modules_load(conf, NULL, 0), 0)) {
|
| /src/crypto/external/apache2/openssl/dist/test/testutil/ |
| load.c | 25 if (TEST_int_gt(BIO_read_filename(bio, file), 0) 76 if (TEST_int_gt(BIO_read_filename(bio, file), 0)) {
|
| stanza.c | 48 } else if (!TEST_int_gt(BIO_reset(s->key), 0)) { 55 if (!TEST_int_gt(BIO_puts(s->key, tmpbuf), 0))
|
| /src/crypto/external/bsd/openssl/dist/test/testutil/ |
| load.c | 25 if (TEST_int_gt(BIO_read_filename(bio, file), 0) 76 if (TEST_int_gt(BIO_read_filename(bio, file), 0)) {
|
| stanza.c | 48 } else if (!TEST_int_gt(BIO_reset(s->key), 0)) { 55 if (!TEST_int_gt(BIO_puts(s->key, tmpbuf), 0))
|
| /src/crypto/external/bsd/openssl.old/dist/test/testutil/ |
| stanza.c | 48 } else if (!TEST_int_gt(BIO_reset(s->key), 0)) { 55 if (!TEST_int_gt(BIO_puts(s->key, tmpbuf), 0))
|