/openssl/demos/bio/ |
H A D | client-conf.c | 18 int i, len, rv; in main() local 54 rv = SSL_CONF_cmd(cctx, cnf->name, cnf->value); in main() 55 if (rv > 0) in main() 57 if (rv != -2) { in main()
|
/openssl/test/ |
H A D | asn1_string_table_test.c | 21 int nid = 12345678, nid2 = 87654321, rv = 0, ret = 0; in test_string_tbl() local 68 rv = 1; in test_string_tbl() 70 return rv; in test_string_tbl()
|
H A D | ca_internals_test.c | 23 int rv; in test_do_updatedb() local 63 rv = do_updatedb(db, &testdateutc); in test_do_updatedb() 66 if (rv > 0) { in test_do_updatedb()
|
H A D | rsa_mp_test.c | 153 int rv = RSA_size(key); in key2048p3_v1() local 188 return rv; in key2048p3_v1() 196 rv = 0; in key2048p3_v1() 204 int rv = RSA_size(key); in key2048p3_v2() local 240 return rv; in key2048p3_v2() 246 rv = 0; in key2048p3_v2()
|
H A D | evp_test.c | 371 int rv = 0; in evp_test_buffer_append() local 1714 int rv = 0; in mac_test_ctrl_pkey() local 1729 rv = 1; in mac_test_ctrl_pkey() 2133 int rv; in kem_test_init() local 3632 int rv; in kdf_test_ctrl() local 3696 if (!rv) { in kdf_test_ctrl() 3972 rv = 1; in keypair_test_init() 3977 return rv; in keypair_test_init() 4026 rv = 1; in keypair_test_run() 4030 return rv; in keypair_test_run() [all …]
|
H A D | asn1_dsa_internal_test.c | 86 int rv = 0; in test_decode() local 173 rv = 1; in test_decode() 177 return rv; in test_decode()
|
/openssl/providers/implementations/ciphers/ |
H A D | cipher_aes_ccm_hw_s390x.inc | 225 int rv; 227 rv = s390x_aes_ccm_auth_encdec(ctx, in, out, len, 1); 228 if (rv && tag != NULL) 229 rv = s390x_aes_ccm_gettag(ctx, tag, taglen); 230 return rv; 239 int rv = 0; 242 rv = s390x_aes_ccm_auth_encdec(ctx, in, out, len, 0); 243 if (rv) { 245 rv = 0; 247 if (rv == 0) [all …]
|
H A D | cipher_tdes_wrap.c | 38 int rv = -1; in des_ede3_unwrap() local 69 rv = inl - 16; in des_ede3_unwrap() 74 if (rv == -1) in des_ede3_unwrap() 77 return rv; in des_ede3_unwrap()
|
/openssl/crypto/hmac/ |
H A D | hmac.c | 28 int rv = 0, reset = 0; in HMAC_Init_ex() local 53 rv = s390x_HMAC_init(ctx, key, len, impl); in HMAC_Init_ex() 54 if (rv >= 1) in HMAC_Init_ex() 55 return rv; in HMAC_Init_ex() 98 rv = 1; in HMAC_Init_ex() 104 return rv; in HMAC_Init_ex()
|
/openssl/crypto/cms/ |
H A D | cms_rsa.c | 44 int rv = -1; in rsa_cms_decrypt() local 107 rv = 1; in rsa_cms_decrypt() 111 return rv; in rsa_cms_decrypt() 122 int pad_mode = RSA_PKCS1_PADDING, rv = 0, labellen; in rsa_cms_encrypt() local 173 rv = 1; in rsa_cms_encrypt() 178 return rv; in rsa_cms_encrypt()
|
/openssl/crypto/asn1/ |
H A D | t_pkey.c | 48 int n, rv = 0; in ASN1_bn_print() local 89 rv = 1; in ASN1_bn_print() 92 return rv; in ASN1_bn_print()
|
H A D | x_algor.c | 99 int rv; in X509_ALGOR_cmp() local 100 rv = OBJ_cmp(a->algorithm, b->algorithm); in X509_ALGOR_cmp() 101 if (rv) in X509_ALGOR_cmp() 102 return rv; in X509_ALGOR_cmp()
|
/openssl/crypto/dh/ |
H A D | dh_key.c | 146 int rv, pad; in DH_compute_key_padded() local 150 rv = ossl_dh_compute_key(key, pub_key, dh); in DH_compute_key_padded() 152 rv = dh->meth->compute_key(key, pub_key, dh); in DH_compute_key_padded() 154 if (rv <= 0) in DH_compute_key_padded() 155 return rv; in DH_compute_key_padded() 156 pad = BN_num_bytes(dh->params.p) - rv; in DH_compute_key_padded() 159 memmove(key + pad, key, rv); in DH_compute_key_padded() 162 return rv + pad; in DH_compute_key_padded()
|
/openssl/crypto/rsa/ |
H A D | rsa_ameth.c | 208 int rv = 0; in rsa_pss_param_print() local 292 rv = 1; in rsa_pss_param_print() 296 return rv; in rsa_pss_param_print() 405 int rv; in rsa_sig_print() local 410 if (!rv) in rsa_sig_print() 585 rv = 1; in ossl_rsa_pss_to_ctx() 589 return rv; in ossl_rsa_pss_to_ctx() 725 int rv = 0; in rsa_sig_info_set() local 773 rv = 1; in rsa_sig_info_set() 776 return rv; in rsa_sig_info_set() [all …]
|
H A D | rsa_mp.c | 64 int i, rv = 0, ex_primes; in ossl_rsa_multip_calc_product() local 92 rv = 1; in ossl_rsa_multip_calc_product() 95 return rv; in ossl_rsa_multip_calc_product()
|
H A D | rsa_oaep.c | 61 int rv = 0; in ossl_rsa_padding_add_PKCS1_OAEP_mgf1_ex() local 143 rv = 1; in ossl_rsa_padding_add_PKCS1_OAEP_mgf1_ex() 148 return rv; in ossl_rsa_padding_add_PKCS1_OAEP_mgf1_ex() 358 int rv = -1; in PKCS1_MGF1() local 388 rv = 0; in PKCS1_MGF1() 392 return rv; in PKCS1_MGF1()
|
/openssl/demos/kdf/ |
H A D | argon2.c | 77 int rv = EXIT_FAILURE; in main() local 150 rv = EXIT_SUCCESS; in main() 155 return rv; in main()
|
/openssl/crypto/evp/ |
H A D | pbe_scrypt.c | 44 int rv = 1; in EVP_PBE_scrypt_ex() local 84 rv = 0; in EVP_PBE_scrypt_ex() 87 return rv; in EVP_PBE_scrypt_ex()
|
H A D | p_seal.c | 29 int rv = 0; in EVP_SealInit() local 72 rv = npubk; in EVP_SealInit() 76 return rv; in EVP_SealInit()
|
H A D | evp_key.c | 87 int rv = 0; in EVP_BytesToKey() local 149 rv = EVP_CIPHER_get_key_length(type); in EVP_BytesToKey() 153 return rv; in EVP_BytesToKey()
|
/openssl/apps/lib/ |
H A D | app_x509.c | 89 int rv = 0; in do_x509_ctrl_string() local 123 rv = ctrl(object, cmd, vtmp, vtmp_len); in do_x509_ctrl_string() 126 return rv; in do_x509_ctrl_string()
|
/openssl/crypto/conf/ |
H A D | conf_ssl.c | 64 int rv = 0; in ssl_module_init() local 126 rv = 1; in ssl_module_init() 128 if (rv == 0) in ssl_module_init() 130 return rv; in ssl_module_init()
|
/openssl/ssl/ |
H A D | ssl_rsa.c | 33 int rv; in SSL_use_certificate() local 45 if (rv != 1) { in SSL_use_certificate() 46 ERR_raise(ERR_LIB_SSL, rv); in SSL_use_certificate() 241 int rv; in SSL_CTX_use_certificate() local 248 if (rv != 1) { in SSL_CTX_use_certificate() 249 ERR_raise(ERR_LIB_SSL, rv); in SSL_CTX_use_certificate() 976 int rv; in ssl_set_cert_and_key() local 989 if (rv != 1) { in ssl_set_cert_and_key() 990 ERR_raise(ERR_LIB_SSL, rv); in ssl_set_cert_and_key() 995 if (rv != 1) { in ssl_set_cert_and_key() [all …]
|
H A D | ssl_mcnf.c | 79 int rv; in ssl_do_config() local 82 rv = SSL_CONF_cmd(cctx, cmdstr, arg); in ssl_do_config() 83 if (rv <= 0) in ssl_do_config()
|
/openssl/demos/cipher/ |
H A D | aesgcm.c | 152 int outlen, rv; in aes_gcm_decrypt() local 201 rv = EVP_DecryptFinal_ex(ctx, outbuf, &outlen); in aes_gcm_decrypt() 206 printf("Tag Verify %s\n", rv > 0 ? "Successful!" : "Failed!"); in aes_gcm_decrypt()
|