Home
last modified time | relevance | path

Searched refs:decrypted (Results 1 – 25 of 83) sorted by relevance

1234

/netbsd-src/sys/external/isc/libsodium/dist/test/default/
H A Daead_aes256gcm.c3084 unsigned char *decrypted; in tv() local
3169 decrypted = (unsigned char *) sodium_malloc(message_len); in tv()
3171 if (crypto_aead_aes256gcm_decrypt(decrypted, &found_message_len, in tv()
3181 if (crypto_aead_aes256gcm_decrypt(decrypted, &found_message_len, in tv()
3193 if (crypto_aead_aes256gcm_decrypt(decrypted, &found_message_len, in tv()
3199 if (memcmp(decrypted, message, message_len) != 0) { in tv()
3202 memset(decrypted, 0xd0, message_len); in tv()
3203 if (crypto_aead_aes256gcm_decrypt_detached(decrypted, in tv()
3209 if (memcmp(decrypted, message, message_len) != 0) { in tv()
3217 sodium_free(decrypted); in tv()
/netbsd-src/external/bsd/wpa/dist/src/wps/
H A Dwps_common.c158 struct wpabuf *decrypted; in wps_decrypt_encr_settings() local
171 decrypted = wpabuf_alloc(encr_len - block_size); in wps_decrypt_encr_settings()
172 if (decrypted == NULL) in wps_decrypt_encr_settings()
176 wpabuf_put_data(decrypted, encr + block_size, encr_len - block_size); in wps_decrypt_encr_settings()
177 if (aes_128_cbc_decrypt(wps->keywrapkey, encr, wpabuf_mhead(decrypted), in wps_decrypt_encr_settings()
178 wpabuf_len(decrypted))) { in wps_decrypt_encr_settings()
179 wpabuf_clear_free(decrypted); in wps_decrypt_encr_settings()
184 decrypted); in wps_decrypt_encr_settings()
186 pos = wpabuf_head_u8(decrypted) + wpabuf_len(decrypted) - 1; in wps_decrypt_encr_settings()
188 if (pad > wpabuf_len(decrypted)) { in wps_decrypt_encr_settings()
[all …]
/netbsd-src/external/bsd/wpa/dist/src/eap_common/
H A Dikev2_common.c436 u8 hash[IKEV2_MAX_HASH_LEN], *decrypted; in ikev2_decrypt_payload() local
495 decrypted = os_malloc(decrypted_len); in ikev2_decrypt_payload()
496 if (decrypted == NULL) in ikev2_decrypt_payload()
500 decrypted, decrypted_len) < 0) { in ikev2_decrypt_payload()
501 os_free(decrypted); in ikev2_decrypt_payload()
505 pad_len = decrypted[decrypted_len - 1]; in ikev2_decrypt_payload()
509 os_free(decrypted); in ikev2_decrypt_payload()
516 return decrypted; in ikev2_decrypt_payload()
/netbsd-src/external/bsd/wpa/dist/src/eap_server/
H A Dikev2.c451 u8 *decrypted; in ikev2_process_sa_init_encr() local
456 decrypted = ikev2_decrypt_payload(data->proposal.encr, in ikev2_process_sa_init_encr()
460 if (decrypted == NULL) in ikev2_process_sa_init_encr()
465 if (ikev2_parse_payloads(&pl, next_payload, decrypted, in ikev2_process_sa_init_encr()
466 decrypted + decrypted_len) < 0) { in ikev2_process_sa_init_encr()
475 os_free(decrypted); in ikev2_process_sa_init_encr()
715 u8 *decrypted; in ikev2_process_sa_auth() local
719 decrypted = ikev2_decrypt_payload(data->proposal.encr, in ikev2_process_sa_auth()
723 if (decrypted == NULL) in ikev2_process_sa_auth()
727 decrypted, decrypted_len); in ikev2_process_sa_auth()
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/test/recipes/
H A D15-test_mp_rsa.t108 my $decrypted = shift;
116 open($fh, "<", $decrypted ) or return 0;
/netbsd-src/crypto/external/bsd/openssl/dist/doc/man3/
H A DEVP_PKEY_decrypt.pod28 using I<ctx>. The data to be decrypted is specified using the I<in> and
34 decrypted data is written to I<out> and the amount of the decrypted data
H A DSSL_CTX_set_session_ticket_cb.pod64 application that a session ticket has just been decrypted.
88 The ticket couldn't be decrypted. No ticket data will be used and a new ticket
93 A ticket was successfully decrypted, any session ticket application data should
H A DPKCS12_decrypt_skey.pod29 Both functions will return the decrypted key or NULL if an error occurred.
H A DCMS_decrypt.pod23 CMS_decrypt() extracts the decrypted content from a CMS EnvelopedData
69 recipient encrypted key can be decrypted B<without> generating a random
H A DPKCS12_item_decrypt_d2i.pod49 PKCS12_item_decrypt_d2i() and PKCS12_item_decrypt_d2i_ex() return the decrypted
H A DOSSL_CRMF_MSG_get0_tmpl.pod68 The function returns the decrypted certificate as a copy, leaving its ownership
H A DSSL_alert_type_string.pod133 A TLSCiphertext decrypted in an invalid way: either it wasn't an
140 2^14+2048 bytes, or a record decrypted to a TLSCompressed record
/netbsd-src/crypto/external/bsd/openssh/dist/
H A DPROTOCOL.chacha20poly130565 When receiving a packet, the length must be decrypted first. When 4
66 bytes of ciphertext length have been received, they may be decrypted
76 packet and the packet decrypted using ChaCha20 as described above (with
H A Dsshkey-xmss.c981 struct sshbuf *copy = NULL, *decrypted = NULL; in sshkey_xmss_decrypt_state() local
1010 (decrypted = sshbuf_new()) == NULL || in sshkey_xmss_decrypt_state()
1047 if ((r = sshbuf_reserve(decrypted, aadlen + encrypted_len, &dp)) != 0 || in sshkey_xmss_decrypt_state()
1063 if ((r = sshbuf_consume(decrypted, aadlen)) != 0) in sshkey_xmss_decrypt_state()
1070 *retp = decrypted; in sshkey_xmss_decrypt_state()
1071 decrypted = NULL; in sshkey_xmss_decrypt_state()
1076 sshbuf_free(decrypted); in sshkey_xmss_decrypt_state()
/netbsd-src/crypto/external/bsd/openssl.old/dist/doc/man3/
H A DEVP_PKEY_decrypt.pod22 using B<ctx>. The data to be decrypted is specified using the B<in> and
26 B<out> buffer, if the call is successful the decrypted data is written to
H A DSSL_CTX_set_session_ticket_cb.pod64 application that a session ticket has just been decrypted.
88 The ticket couldn't be decrypted. No ticket data will be used and a new ticket
93 A ticket was successfully decrypted, any session ticket application data should
H A DSSL_alert_type_string.pod133 A TLSCiphertext decrypted in an invalid way: either it wasn't an
140 2^14+2048 bytes, or a record decrypted to a TLSCompressed record
H A DBIO_f_cipher.pod38 decrypted and checked when EOF is detected. BIO_get_cipher_status()
H A DSSL_pending.pod18 is processed (e.g. decrypted) in one go and is buffered by OpenSSL until it is
/netbsd-src/crypto/external/bsd/openssl/dist/doc/man7/
H A Dprovider-asym_cipher.pod157 The data to be decrypted is pointed to by the I<in> parameter which is I<inlen>
159 Unless I<out> is NULL, the decrypted data should be written to the location
162 The length of the decrypted data should be written to I<*outlen>.
163 If I<out> is NULL then the maximum length of the decrypted data should be
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/hx509/
H A Dks_file.c202 int decrypted = 0; in parse_pem_private_key() local
291 decrypted = 1; in parse_pem_private_key()
296 if (!decrypted) { in parse_pem_private_key()
/netbsd-src/crypto/dist/ipsec-tools/src/racoon/doc/
H A DREADME.plainrsa6 encrypted by a public key can be decrypted only by the corresponding
10 decrypted by the public key so that the public knows that this
/netbsd-src/crypto/external/bsd/netpgp/dist/src/libverify/
H A Dlibverify.c1556 uint8_t decrypted[8192]; in rsa_verify() local
1563 decryptc = pgpv_rsa_public_decrypt(decrypted, sigbn, BITS_TO_BYTES(bn[RSA_SIG].bits), pubkey); in rsa_verify()
1564 if (decryptc != keysize || (decrypted[0] != 0 || decrypted[1] != 1)) { in rsa_verify()
1572 if (decrypted[i] != 0xff) { in rsa_verify()
1576 if (decrypted[i++] != 0x0) { in rsa_verify()
1579 if (memcmp(&decrypted[i], prefix, prefixlen) != 0) { in rsa_verify()
1583 return memcmp(&decrypted[i + prefixlen], calculated, calclen) == 0; in rsa_verify()
/netbsd-src/crypto/external/bsd/netpgp/dist/src/lib/
H A Dreader.c1401 uint8_t decrypted[1024 * 15]; member
1454 encrypted->decrypted + encrypted->off, n); in encrypted_data_reader()
1497 encrypted->decrypted, buffer, n); in encrypted_data_reader()
1501 hexdump(stderr, "decrypted", encrypted->decrypted, 16); in encrypted_data_reader()
1505 &encrypted->decrypted[encrypted->off], buffer, n); in encrypted_data_reader()
/netbsd-src/crypto/external/bsd/openssl/dist/doc/man1/
H A Dopenssl-smime.pod.in82 encrypted mail message in MIME format for the input file. The decrypted mail
107 be decrypted or verified.
111 The message text that has been decrypted or verified or the output MIME
158 off text headers: if the decrypted or verified message is not of MIME

1234