Home
last modified time | relevance | path

Searched refs:evp (Results 1 – 25 of 62) sorted by relevance

123

/external/openssh/
Dcipher.c63 EVP_CIPHER_CTX *evp; member
375 if ((cc->evp = EVP_CIPHER_CTX_new()) == NULL) { in cipher_init()
379 if (EVP_CipherInit(cc->evp, type, NULL, (u_char *)iv, in cipher_init()
385 !EVP_CIPHER_CTX_ctrl(cc->evp, EVP_CTRL_GCM_SET_IV_FIXED, in cipher_init()
390 klen = EVP_CIPHER_CTX_key_length(cc->evp); in cipher_init()
392 if (EVP_CIPHER_CTX_set_key_length(cc->evp, keylen) == 0) { in cipher_init()
397 if (EVP_CipherInit(cc->evp, NULL, (u_char *)key, NULL, -1) == 0) { in cipher_init()
409 ret = EVP_Cipher(cc->evp, discard, junk, cipher->discard_len); in cipher_init()
427 if (cc->evp != NULL) in cipher_init()
428 EVP_CIPHER_CTX_free(cc->evp); in cipher_init()
[all …]
Dcipher-ctr.c114 ssh_aes_ctr_iv(EVP_CIPHER_CTX *evp, int doset, u_char * iv, size_t len) in ssh_aes_ctr_iv() argument
118 if ((c = EVP_CIPHER_CTX_get_app_data(evp)) == NULL) in ssh_aes_ctr_iv()
Dcipher-3des1.c122 ssh1_3des_iv(EVP_CIPHER_CTX *evp, int doset, u_char *iv, int len) in ssh1_3des_iv() argument
128 if ((c = EVP_CIPHER_CTX_get_app_data(evp)) == NULL) in ssh1_3des_iv()
Dcipher-aes.c130 ssh_rijndael_iv(EVP_CIPHER_CTX *evp, int doset, u_char * iv, u_int len) in ssh_rijndael_iv() argument
134 if ((c = EVP_CIPHER_CTX_get_app_data(evp)) == NULL) in ssh_rijndael_iv()
Dssh-pkcs11.c455 EVP_PKEY *evp; in pkcs11_fetch_keys_filter() local
527 } else if ((evp = X509_get_pubkey(x509)) == NULL || in pkcs11_fetch_keys_filter()
528 evp->type != EVP_PKEY_RSA || in pkcs11_fetch_keys_filter()
529 evp->pkey.rsa == NULL) { in pkcs11_fetch_keys_filter()
531 } else if ((rsa = RSAPublicKey_dup(evp->pkey.rsa)) in pkcs11_fetch_keys_filter()
/external/ltp/testcases/kernel/syscalls/timer_create/
Dtimer_create03.c32 struct sigevent evp; in run() local
36 memset(&evp, 0, sizeof(evp)); in run()
38 evp.sigev_signo = SIGALRM; in run()
39 evp.sigev_notify = SIGEV_SIGNAL | RANDOM_UNUSED_NUMBER; in run()
40 evp._sigev_un._tid = getpid(); in run()
42 TEST(tst_syscall(__NR_timer_create, clock, &evp, &created_timer_id)); in run()
Dtimer_create01.c47 struct sigevent evp; in run() local
53 memset(&evp, 0, sizeof(evp)); in run()
58 evp.sigev_value = (union sigval) 0; in run()
59 evp.sigev_signo = nt->sigev_signo; in run()
60 evp.sigev_notify = nt->sigev_notify; in run()
76 evp._sigev_un._tid = getpid(); in run()
79 nt->sigev_notify ? &evp : NULL, in run()
/external/boringssl/src/crypto/
DCMakeLists.txt170 err/evp.errordata
271 evp/digestsign.c
272 evp/evp.c
273 evp/evp_asn1.c
274 evp/evp_ctx.c
275 evp/p_dsa_asn1.c
276 evp/p_ec.c
277 evp/p_ec_asn1.c
278 evp/p_ed25519.c
279 evp/p_ed25519_asn1.c
[all …]
/external/boringssl/
Dsources.mk103 src/crypto/evp/digestsign.c\
104 src/crypto/evp/evp.c\
105 src/crypto/evp/evp_asn1.c\
106 src/crypto/evp/evp_ctx.c\
107 src/crypto/evp/p_dsa_asn1.c\
108 src/crypto/evp/p_ec.c\
109 src/crypto/evp/p_ec_asn1.c\
110 src/crypto/evp/p_ed25519.c\
111 src/crypto/evp/p_ed25519_asn1.c\
112 src/crypto/evp/p_rsa.c\
[all …]
Dsources.bp105 "src/crypto/evp/digestsign.c",
106 "src/crypto/evp/evp.c",
107 "src/crypto/evp/evp_asn1.c",
108 "src/crypto/evp/evp_ctx.c",
109 "src/crypto/evp/p_dsa_asn1.c",
110 "src/crypto/evp/p_ec.c",
111 "src/crypto/evp/p_ec_asn1.c",
112 "src/crypto/evp/p_ed25519.c",
113 "src/crypto/evp/p_ed25519_asn1.c",
114 "src/crypto/evp/p_rsa.c",
[all …]
Deureka.mk103 src/crypto/evp/digestsign.c\
104 src/crypto/evp/evp.c\
105 src/crypto/evp/evp_asn1.c\
106 src/crypto/evp/evp_ctx.c\
107 src/crypto/evp/p_dsa_asn1.c\
108 src/crypto/evp/p_ec.c\
109 src/crypto/evp/p_ec_asn1.c\
110 src/crypto/evp/p_ed25519.c\
111 src/crypto/evp/p_ed25519_asn1.c\
112 src/crypto/evp/p_rsa.c\
[all …]
Dandroid-sources.cmake105 ${BORINGSSL_ROOT}src/crypto/evp/digestsign.c
106 ${BORINGSSL_ROOT}src/crypto/evp/evp.c
107 ${BORINGSSL_ROOT}src/crypto/evp/evp_asn1.c
108 ${BORINGSSL_ROOT}src/crypto/evp/evp_ctx.c
109 ${BORINGSSL_ROOT}src/crypto/evp/p_dsa_asn1.c
110 ${BORINGSSL_ROOT}src/crypto/evp/p_ec.c
111 ${BORINGSSL_ROOT}src/crypto/evp/p_ec_asn1.c
112 ${BORINGSSL_ROOT}src/crypto/evp/p_ed25519.c
113 ${BORINGSSL_ROOT}src/crypto/evp/p_ed25519_asn1.c
114 ${BORINGSSL_ROOT}src/crypto/evp/p_rsa.c
[all …]
/external/tcpdump/
Dprint-esp.c113 const EVP_CIPHER *evp; member
210 if(sa->evp == NULL) return 0; in esp_print_decrypt_buffer_by_ikev2()
226 if (set_cipher_parameters(ctx, sa->evp, sa->secret, NULL, 0) < 0) in esp_print_decrypt_buffer_by_ikev2()
340 const EVP_CIPHER *evp; in espprint_decode_encalgo() local
363 evp = EVP_get_cipherbyname(decode); in espprint_decode_encalgo()
365 if (!evp) { in espprint_decode_encalgo()
367 sa->evp = NULL; in espprint_decode_encalgo()
373 sa->evp = evp; in espprint_decode_encalgo()
375 sa->ivlen = EVP_CIPHER_iv_length(evp); in espprint_decode_encalgo()
769 if (sa->evp) { in esp_print()
[all …]
/external/libsrtp2/crypto/cipher/
Daes_icm_ossl.c217 const EVP_CIPHER *evp; in srtp_aes_icm_openssl_context_init() local
238 evp = EVP_aes_256_ctr(); in srtp_aes_icm_openssl_context_init()
241 evp = EVP_aes_192_ctr(); in srtp_aes_icm_openssl_context_init()
244 evp = EVP_aes_128_ctr(); in srtp_aes_icm_openssl_context_init()
252 if (!EVP_EncryptInit_ex(c->ctx, evp, NULL, key, NULL)) { in srtp_aes_icm_openssl_context_init()
Daes_gcm_ossl.c176 const EVP_CIPHER *evp; in srtp_aes_gcm_openssl_context_init() local
185 evp = EVP_aes_256_gcm(); in srtp_aes_gcm_openssl_context_init()
188 evp = EVP_aes_128_gcm(); in srtp_aes_gcm_openssl_context_init()
196 if (!EVP_CipherInit_ex(c->ctx, evp, NULL, key, NULL, 0)) { in srtp_aes_gcm_openssl_context_init()
/external/ipsec-tools/src/racoon/
Dcrypto_openssl.c961 EVP_PKEY *evp; local
972 evp = X509_get_pubkey(x509);
973 if (! evp) {
979 res = eay_rsa_verify(source, sig, evp->pkey.rsa);
981 EVP_PKEY_free(evp);
1009 EVP_PKEY *evp = NULL; local
1021 evp = PEM_read_bio_PrivateKey(bio, NULL, NULL, NULL);
1030 evp = PEM_read_PrivateKey(fp, NULL, NULL, NULL);
1037 if (evp == NULL)
1040 pkeylen = i2d_PrivateKey(evp, NULL);
[all …]
/external/boringssl/src/decrepit/
DCMakeLists.txt14 evp/dss1.c
15 evp/evp_do_all.c
/external/scrypt/patches/
Duse_openssl_pbkdf2.patch10 +#include <openssl/evp.h>
50 +#include <openssl/evp.h>
/external/python/cryptography/vectors/cryptography_vectors/asymmetric/RSA/
Doaep-label.txt1 …gssl.googlesource.com/boringssl/+/ce3773f9fe25c3b54390bc51d72572f251c7d7e6/crypto/evp/evp_tests.txt
/external/virglrenderer/tests/
Dvalgrind.suppressions4 timer_create(evp)
/external/grpc-grpc/
Dconfig.m4486 third_party/boringssl/crypto/evp/digestsign.c \
487 third_party/boringssl/crypto/evp/evp.c \
488 third_party/boringssl/crypto/evp/evp_asn1.c \
489 third_party/boringssl/crypto/evp/evp_ctx.c \
490 third_party/boringssl/crypto/evp/p_dsa_asn1.c \
491 third_party/boringssl/crypto/evp/p_ec.c \
492 third_party/boringssl/crypto/evp/p_ec_asn1.c \
493 third_party/boringssl/crypto/evp/p_ed25519.c \
494 third_party/boringssl/crypto/evp/p_ed25519_asn1.c \
495 third_party/boringssl/crypto/evp/p_rsa.c \
[all …]
Dconfig.w32461 "third_party\\boringssl\\crypto\\evp\\digestsign.c " +
462 "third_party\\boringssl\\crypto\\evp\\evp.c " +
463 "third_party\\boringssl\\crypto\\evp\\evp_asn1.c " +
464 "third_party\\boringssl\\crypto\\evp\\evp_ctx.c " +
465 "third_party\\boringssl\\crypto\\evp\\p_dsa_asn1.c " +
466 "third_party\\boringssl\\crypto\\evp\\p_ec.c " +
467 "third_party\\boringssl\\crypto\\evp\\p_ec_asn1.c " +
468 "third_party\\boringssl\\crypto\\evp\\p_ed25519.c " +
469 "third_party\\boringssl\\crypto\\evp\\p_ed25519_asn1.c " +
470 "third_party\\boringssl\\crypto\\evp\\p_rsa.c " +
[all …]
/external/blktrace/btreplay/
Dbtreplay.c1054 struct io_event *evp, events[naios_out]; in reclaim_ios() local
1072 for (i = 0, evp = events; i < ndone; i++, evp++) { in reclaim_ios()
1073 struct iocb_pkt *iocbp = evp->data; in reclaim_ios()
1075 if (evp->res != iocbp->iocb.u.c.nbytes) { in reclaim_ios()
1078 (long)evp->res, (long)evp->res2, in reclaim_ios()
/external/python/cpython3/Modules/
D_hashopenssl.c987 const EVP_MD *evp; in _hashlib_hmac_digest_impl() local
989 evp = EVP_get_digestbyname(digest); in _hashlib_hmac_digest_impl()
990 if (evp == NULL) { in _hashlib_hmac_digest_impl()
1007 evp, in _hashlib_hmac_digest_impl()
/external/boringssl/src/
Dsources.cmake46 crypto/evp/evp_tests.txt
47 crypto/evp/scrypt_tests.txt

123