Home
last modified time | relevance | path

Searched refs:evp (Results 1 – 25 of 58) 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/timers/timer_create/
Dtimer_create03.c80 static struct sigevent evp, *evp_ptr; variable
132 evp.sigev_value = (union sigval) 0; in setup_test()
133 evp.sigev_signo = SIGALRM; in setup_test()
134 evp.sigev_notify = SIGEV_SIGNAL; in setup_test()
135 evp_ptr = &evp; in setup_test()
141 evp.sigev_value = (union sigval) 0; in setup_test()
142 evp.sigev_signo = SIGALRM; /* any will do */ in setup_test()
143 evp.sigev_notify = SIGEV_NONE; in setup_test()
144 evp_ptr = &evp; in setup_test()
Dtimer_create02.c80 static struct sigevent evp, *evp_ptr; variable
145 evp.sigev_value = (union sigval) 0; in setup_test()
146 evp.sigev_signo = SIGALRM; in setup_test()
147 evp.sigev_notify = SIGEV_SIGNAL; in setup_test()
148 evp_ptr = &evp; in setup_test()
154 evp.sigev_value = (union sigval) 0; in setup_test()
155 evp.sigev_signo = SIGALRM; /* any will do */ in setup_test()
156 evp.sigev_notify = SIGEV_NONE; in setup_test()
157 evp_ptr = &evp; in setup_test()
/external/tcpdump/
Dprint-esp.c113 const EVP_CIPHER *evp; member
175 if(sa->evp == NULL) return 0; in esp_print_decrypt_buffer_by_ikev2()
191 if (EVP_CipherInit(ctx, sa->evp, sa->secret, NULL, 0) < 0) in esp_print_decrypt_buffer_by_ikev2()
286 const EVP_CIPHER *evp; in espprint_decode_encalgo() local
309 evp = EVP_get_cipherbyname(decode); in espprint_decode_encalgo()
311 if (!evp) { in espprint_decode_encalgo()
313 sa->evp = NULL; in espprint_decode_encalgo()
319 sa->evp = evp; in espprint_decode_encalgo()
321 sa->ivlen = EVP_CIPHER_iv_length(evp); in espprint_decode_encalgo()
711 if (sa->evp) { in esp_print()
[all …]
/external/boringssl/
Dsources.mk102 src/crypto/evp/digestsign.c\
103 src/crypto/evp/evp.c\
104 src/crypto/evp/evp_asn1.c\
105 src/crypto/evp/evp_ctx.c\
106 src/crypto/evp/p_dsa_asn1.c\
107 src/crypto/evp/p_ec.c\
108 src/crypto/evp/p_ec_asn1.c\
109 src/crypto/evp/p_ed25519.c\
110 src/crypto/evp/p_ed25519_asn1.c\
111 src/crypto/evp/p_rsa.c\
[all …]
Dsources.bp104 "src/crypto/evp/digestsign.c",
105 "src/crypto/evp/evp.c",
106 "src/crypto/evp/evp_asn1.c",
107 "src/crypto/evp/evp_ctx.c",
108 "src/crypto/evp/p_dsa_asn1.c",
109 "src/crypto/evp/p_ec.c",
110 "src/crypto/evp/p_ec_asn1.c",
111 "src/crypto/evp/p_ed25519.c",
112 "src/crypto/evp/p_ed25519_asn1.c",
113 "src/crypto/evp/p_rsa.c",
[all …]
/external/boringssl/src/crypto/evp/
DCMakeLists.txt4 evp target
9 evp.c
/external/boringssl/src/crypto/
DCMakeLists.txt116 add_subdirectory(evp)
195 $<TARGET_OBJECTS:evp>
238 evp/evp_extra_test.cc
239 evp/evp_test.cc
240 evp/pbkdf_test.cc
241 evp/scrypt_test.cc
/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 …]
Deaytest.c97 EVP_PKEY *evp; local
101 evp = PEM_read_bio_PUBKEY(bio, NULL, NULL, NULL);
102 if (! evp) {
106 error = eay_check_rsasign(src, sig, evp->pkey.rsa);
Doakley.c1818 EVP_PKEY *evp = NULL; in keystore_sign() local
1838 evp = ENGINE_load_private_key(engine, key_id, NULL, NULL); in keystore_sign()
1840 evp = EVP_PKEY_from_keystore(key_id); in keystore_sign()
1842 if (!evp) { in keystore_sign()
1848 if (EVP_PKEY_id(evp) == EVP_PKEY_RSA) { in keystore_sign()
1849 sig = eay_rsa_sign(src, evp->pkey.rsa); in keystore_sign()
1853 if (evp) { in keystore_sign()
1854 EVP_PKEY_free(evp); in keystore_sign()
/external/boringssl/src/
Dsources.cmake41 crypto/evp/evp_tests.txt
42 crypto/evp/scrypt_tests.txt
/external/libedit/src/
Dhistory.c167 #define he_seterrev(evp, code) {\ argument
168 evp->num = code;\
169 evp->str = he_strerror(code);\
381 HistEventPrivate *evp = (void *)&h->cursor->ev; in history_def_add() local
385 len = Strlen(evp->str) + Strlen(str) + 1; in history_def_add()
394 h_free(evp->str); in history_def_add()
395 evp->str = s; in history_def_add()
445 HistEventPrivate *evp = (void *)&hp->ev; in history_def_delete() local
455 h_free(evp->str); in history_def_delete()
/external/scrypt/patches/
Duse_openssl_pbkdf2.patch10 +#include <openssl/evp.h>
50 +#include <openssl/evp.h>
/external/blktrace/btreplay/
Dbtreplay.c1036 struct io_event *evp, events[naios_out]; in reclaim_ios() local
1054 for (i = 0, evp = events; i < ndone; i++, evp++) { in reclaim_ios()
1055 struct iocb_pkt *iocbp = evp->data; in reclaim_ios()
1057 if (evp->res != iocbp->iocb.u.c.nbytes) { in reclaim_ios()
1060 (long)evp->res, (long)evp->res2, in reclaim_ios()
/external/boringssl/src/crypto/err/
DCMakeLists.txt20 evp.errordata
/external/boringssl/src/decrepit/
DCMakeLists.txt9 add_subdirectory(evp)
/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_vertprog.c139 struct nv30_vertprog *evp = heap->next->priv; in nv30_vertprog_validate() local
140 nouveau_heap_free(&evp->data); in nv30_vertprog_validate()
/external/boringssl/src/util/
Ddoc.config49 "include/openssl/evp.h"
/external/llvm/test/MC/Mips/micromips64r6/
Dvalid.s238 evp # CHECK: evp $zero # encoding: [0x00,0x00,0x39,0x7c]
239 evp $4 # CHECK: evp $4 # encoding: [0x00,0x04,0x39,0x7c]
/external/llvm/test/MC/Mips/micromips32r6/
Dvalid.s318 evp # CHECK: evp $zero # encoding: [0x00,0x00,0x39,0x7c]
319 evp $4 # CHECK: evp $4 # encoding: [0x00,0x04,0x39,0x7c]

123