Home
last modified time | relevance | path

Searched refs:rv (Results 26 – 50 of 122) sorted by relevance

12345

/openssl/demos/bio/
H A Dclient-conf.c18 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 Dasn1_string_table_test.c21 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 Dca_internals_test.c23 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 Drsa_mp_test.c153 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 Devp_test.c371 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 Dasn1_dsa_internal_test.c86 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 Dcipher_aes_ccm_hw_s390x.inc225 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 Dcipher_tdes_wrap.c38 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 Dhmac.c28 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 Dcms_rsa.c44 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 Dt_pkey.c48 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 Dx_algor.c99 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 Ddh_key.c146 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 Drsa_ameth.c208 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 Drsa_mp.c64 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 Drsa_oaep.c61 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 Dargon2.c77 int rv = EXIT_FAILURE; in main() local
150 rv = EXIT_SUCCESS; in main()
155 return rv; in main()
/openssl/crypto/evp/
H A Dpbe_scrypt.c44 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 Dp_seal.c29 int rv = 0; in EVP_SealInit() local
72 rv = npubk; in EVP_SealInit()
76 return rv; in EVP_SealInit()
H A Devp_key.c87 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 Dapp_x509.c89 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 Dconf_ssl.c64 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 Dssl_rsa.c33 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 Dssl_mcnf.c79 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 Daesgcm.c152 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()

Completed in 60 milliseconds

12345