Home
last modified time | relevance | path

Searched refs:enc_len (Results 1 - 25 of 72) sorted by relevance

123

/third_party/rust/crates/rust-openssl/openssl/src/
H A Denvelope.rs20 //! let mut enc_len = seal.update(secret, &mut encrypted).unwrap();
21 //! enc_len += seal.finalize(&mut encrypted[enc_len..]).unwrap();
22 //! encrypted.truncate(enc_len);
169 let mut enc_len = seal.update(secret, &mut encrypted).unwrap(); in public_encrypt_private_decrypt() variables
170 enc_len += seal.finalize(&mut encrypted[enc_len..]).unwrap(); in public_encrypt_private_decrypt()
175 let mut decrypted = vec![0; enc_len + cipher.block_size()]; in public_encrypt_private_decrypt()
176 let mut dec_len = open.update(&encrypted[..enc_len], &mut decrypted).unwrap(); in public_encrypt_private_decrypt()
/third_party/mbedtls/library/
H A Dssl_ticket.c430 size_t enc_len, clear_len; in mbedtls_ssl_ticket_parse() local
454 enc_len = MBEDTLS_GET_UINT16_BE(enc_len_p, 0); in mbedtls_ssl_ticket_parse()
456 if (len != TICKET_MIN_LEN + enc_len) { in mbedtls_ssl_ticket_parse()
473 ticket, enc_len + TICKET_AUTH_TAG_BYTES, in mbedtls_ssl_ticket_parse()
474 ticket, enc_len, &clear_len)) != PSA_SUCCESS) { in mbedtls_ssl_ticket_parse()
483 ticket, enc_len + TICKET_AUTH_TAG_BYTES, in mbedtls_ssl_ticket_parse()
484 ticket, enc_len, &clear_len, in mbedtls_ssl_ticket_parse()
494 if (clear_len != enc_len) { in mbedtls_ssl_ticket_parse()
/third_party/node/deps/openssl/openssl/crypto/
H A Dpunycode.c118 int ossl_punycode_decode(const char *pEncoded, const size_t enc_len, in ossl_punycode_decode() argument
129 for (loop = 0; loop < enc_len; loop++) { in ossl_punycode_decode()
148 for (loop = processed_in; loop < enc_len;) { in ossl_punycode_decode()
155 if (loop >= enc_len) in ossl_punycode_decode()
/third_party/openssl/crypto/
H A Dpunycode.c118 int ossl_punycode_decode(const char *pEncoded, const size_t enc_len, in ossl_punycode_decode() argument
129 for (loop = 0; loop < enc_len; loop++) { in ossl_punycode_decode()
148 for (loop = processed_in; loop < enc_len;) { in ossl_punycode_decode()
155 if (loop >= enc_len) in ossl_punycode_decode()
/third_party/node/deps/openssl/openssl/crypto/pem/
H A Dpem_info.c138 xi->enc_len = 0; in STACK_OF()
176 xi->enc_len = (int)len; in STACK_OF()
254 if ((xi->enc_data != NULL) && (xi->enc_len > 0)) { in PEM_X509_INFO_write_bio()
263 i = xi->enc_len; in PEM_X509_INFO_write_bio()
/third_party/openssl/crypto/pem/
H A Dpem_info.c138 xi->enc_len = 0; in STACK_OF()
176 xi->enc_len = (int)len; in STACK_OF()
254 if ((xi->enc_data != NULL) && (xi->enc_len > 0)) { in PEM_X509_INFO_write_bio()
263 i = xi->enc_len; in PEM_X509_INFO_write_bio()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
H A Dwpa_auth_ft.c58 * @enc_len: Length of encrypted TLVs in octets
71 const u8 *enc, size_t enc_len, in wpa_ft_rrb_decrypt()
82 wpa_hexdump(MSG_DEBUG, "FT(RRB): encrypted TLVs", enc, enc_len); in wpa_ft_rrb_decrypt()
86 *plain = os_memdup(enc, enc_len); in wpa_ft_rrb_decrypt()
87 if (enc_len > 0 && !*plain) in wpa_ft_rrb_decrypt()
90 *plain_size = enc_len; in wpa_ft_rrb_decrypt()
98 if (enc_len < AES_BLOCK_SIZE) in wpa_ft_rrb_decrypt()
101 *plain = os_zalloc(enc_len - AES_BLOCK_SIZE); in wpa_ft_rrb_decrypt()
105 if (aes_siv_decrypt(key, key_len, enc, enc_len, 3, ad, ad_len, in wpa_ft_rrb_decrypt()
107 if (enc_len < AES_BLOCK_SIZ in wpa_ft_rrb_decrypt()
70 wpa_ft_rrb_decrypt(const u8 *key, const size_t key_len, const u8 *enc, size_t enc_len, const u8 *auth, const size_t auth_len, const u8 *src_addr, u8 type, u8 **plain, size_t *plain_size) wpa_ft_rrb_decrypt() argument
880 size_t enc_len; global() member
925 wpa_ft_rrb_seq_req(struct wpa_authenticator *wpa_auth, struct ft_remote_seq *rkh_seq, const u8 *src_addr, const u8 *f_r0kh_id, size_t f_r0kh_id_len, const u8 *f_r1kh_id, const u8 *key, size_t key_len, const u8 *enc, size_t enc_len, const u8 *auth, size_t auth_len, int (*cb)(struct wpa_authenticator *wpa_auth, const u8 *src_addr, const u8 *enc, size_t enc_len, const u8 *auth, size_t auth_len, int no_defer)) wpa_ft_rrb_seq_req() argument
1024 wpa_ft_rrb_seq_chk(struct ft_remote_seq *rkh_seq, const u8 *src_addr, const u8 *enc, size_t enc_len, const u8 *auth, size_t auth_len, const char *msgtype, int no_defer) wpa_ft_rrb_seq_chk() argument
3801 wpa_ft_rrb_rx_pull(struct wpa_authenticator *wpa_auth, const u8 *src_addr, const u8 *enc, size_t enc_len, const u8 *auth, size_t auth_len, int no_defer) wpa_ft_rrb_rx_pull() argument
3958 wpa_ft_rrb_rx_r1(struct wpa_authenticator *wpa_auth, const u8 *src_addr, u8 type, const u8 *enc, size_t enc_len, const u8 *auth, size_t auth_len, const char *msgtype, u8 *s1kh_id_out, int (*cb)(struct wpa_authenticator *wpa_auth, const u8 *src_addr, const u8 *enc, size_t enc_len, const u8 *auth, size_t auth_len, int no_defer)) wpa_ft_rrb_rx_r1() argument
4188 wpa_ft_rrb_rx_resp(struct wpa_authenticator *wpa_auth, const u8 *src_addr, const u8 *enc, size_t enc_len, const u8 *auth, size_t auth_len, int no_defer) wpa_ft_rrb_rx_resp() argument
4242 wpa_ft_rrb_rx_push(struct wpa_authenticator *wpa_auth, const u8 *src_addr, const u8 *enc, size_t enc_len, const u8 *auth, size_t auth_len, int no_defer) wpa_ft_rrb_rx_push() argument
4260 wpa_ft_rrb_rx_seq(struct wpa_authenticator *wpa_auth, const u8 *src_addr, int type, const u8 *enc, size_t enc_len, const u8 *auth, size_t auth_len, struct ft_remote_seq **rkh_seq, u8 **key, size_t *key_len, struct ft_remote_r0kh **r0kh_out, struct ft_remote_r1kh **r1kh_out, struct ft_remote_r0kh **r0kh_wildcard_out, struct ft_remote_r1kh **r1kh_wildcard_out) wpa_ft_rrb_rx_seq() argument
4378 wpa_ft_rrb_rx_seq_req(struct wpa_authenticator *wpa_auth, const u8 *src_addr, const u8 *enc, size_t enc_len, const u8 *auth, size_t auth_len, int no_defer) wpa_ft_rrb_rx_seq_req() argument
4447 wpa_ft_rrb_rx_seq_resp(struct wpa_authenticator *wpa_auth, const u8 *src_addr, const u8 *enc, size_t enc_len, const u8 *auth, size_t auth_len, int no_defer) wpa_ft_rrb_rx_seq_resp() argument
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
H A Dwpa_auth_ft.c57 * @enc_len: Length of encrypted TLVs in octets
70 const u8 *enc, size_t enc_len, in wpa_ft_rrb_decrypt()
81 wpa_hexdump(MSG_DEBUG, "FT(RRB): encrypted TLVs", enc, enc_len); in wpa_ft_rrb_decrypt()
85 *plain = os_memdup(enc, enc_len); in wpa_ft_rrb_decrypt()
86 if (enc_len > 0 && !*plain) in wpa_ft_rrb_decrypt()
89 *plain_size = enc_len; in wpa_ft_rrb_decrypt()
97 if (enc_len < AES_BLOCK_SIZE) in wpa_ft_rrb_decrypt()
100 *plain = os_zalloc(enc_len - AES_BLOCK_SIZE); in wpa_ft_rrb_decrypt()
104 if (aes_siv_decrypt(key, key_len, enc, enc_len, 3, ad, ad_len, in wpa_ft_rrb_decrypt()
106 if (enc_len < AES_BLOCK_SIZ in wpa_ft_rrb_decrypt()
69 wpa_ft_rrb_decrypt(const u8 *key, const size_t key_len, const u8 *enc, size_t enc_len, const u8 *auth, const size_t auth_len, const u8 *src_addr, u8 type, u8 **plain, size_t *plain_size) wpa_ft_rrb_decrypt() argument
879 size_t enc_len; global() member
924 wpa_ft_rrb_seq_req(struct wpa_authenticator *wpa_auth, struct ft_remote_seq *rkh_seq, const u8 *src_addr, const u8 *f_r0kh_id, size_t f_r0kh_id_len, const u8 *f_r1kh_id, const u8 *key, size_t key_len, const u8 *enc, size_t enc_len, const u8 *auth, size_t auth_len, int (*cb)(struct wpa_authenticator *wpa_auth, const u8 *src_addr, const u8 *enc, size_t enc_len, const u8 *auth, size_t auth_len, int no_defer)) wpa_ft_rrb_seq_req() argument
1022 wpa_ft_rrb_seq_chk(struct ft_remote_seq *rkh_seq, const u8 *src_addr, const u8 *enc, size_t enc_len, const u8 *auth, size_t auth_len, const char *msgtype, int no_defer) wpa_ft_rrb_seq_chk() argument
3577 wpa_ft_rrb_rx_pull(struct wpa_authenticator *wpa_auth, const u8 *src_addr, const u8 *enc, size_t enc_len, const u8 *auth, size_t auth_len, int no_defer) wpa_ft_rrb_rx_pull() argument
3730 wpa_ft_rrb_rx_r1(struct wpa_authenticator *wpa_auth, const u8 *src_addr, u8 type, const u8 *enc, size_t enc_len, const u8 *auth, size_t auth_len, const char *msgtype, u8 *s1kh_id_out, int (*cb)(struct wpa_authenticator *wpa_auth, const u8 *src_addr, const u8 *enc, size_t enc_len, const u8 *auth, size_t auth_len, int no_defer)) wpa_ft_rrb_rx_r1() argument
3960 wpa_ft_rrb_rx_resp(struct wpa_authenticator *wpa_auth, const u8 *src_addr, const u8 *enc, size_t enc_len, const u8 *auth, size_t auth_len, int no_defer) wpa_ft_rrb_rx_resp() argument
4014 wpa_ft_rrb_rx_push(struct wpa_authenticator *wpa_auth, const u8 *src_addr, const u8 *enc, size_t enc_len, const u8 *auth, size_t auth_len, int no_defer) wpa_ft_rrb_rx_push() argument
4032 wpa_ft_rrb_rx_seq(struct wpa_authenticator *wpa_auth, const u8 *src_addr, int type, const u8 *enc, size_t enc_len, const u8 *auth, size_t auth_len, struct ft_remote_seq **rkh_seq, u8 **key, size_t *key_len, struct ft_remote_r0kh **r0kh_out, struct ft_remote_r1kh **r1kh_out, struct ft_remote_r0kh **r0kh_wildcard_out, struct ft_remote_r1kh **r1kh_wildcard_out) wpa_ft_rrb_rx_seq() argument
4150 wpa_ft_rrb_rx_seq_req(struct wpa_authenticator *wpa_auth, const u8 *src_addr, const u8 *enc, size_t enc_len, const u8 *auth, size_t auth_len, int no_defer) wpa_ft_rrb_rx_seq_req() argument
4215 wpa_ft_rrb_rx_seq_resp(struct wpa_authenticator *wpa_auth, const u8 *src_addr, const u8 *enc, size_t enc_len, const u8 *auth, size_t auth_len, int no_defer) wpa_ft_rrb_rx_seq_resp() argument
[all...]
/third_party/node/deps/openssl/openssl/crypto/ec/
H A Decp_oct.c282 size_t field_len, enc_len; in ossl_ec_GFp_simple_oct2point() local
313 enc_len = in ossl_ec_GFp_simple_oct2point()
317 if (len != enc_len) { in ossl_ec_GFp_simple_oct2point()
H A Dec2_oct.c263 size_t field_len, enc_len; in ossl_ec_GF2m_simple_oct2point() local
311 enc_len = in ossl_ec_GF2m_simple_oct2point()
315 if (len != enc_len) { in ossl_ec_GF2m_simple_oct2point()
/third_party/openssl/crypto/ec/
H A Dec2_oct.c263 size_t field_len, enc_len; in ossl_ec_GF2m_simple_oct2point() local
311 enc_len = in ossl_ec_GF2m_simple_oct2point()
315 if (len != enc_len) { in ossl_ec_GF2m_simple_oct2point()
H A Decp_oct.c282 size_t field_len, enc_len; in ossl_ec_GFp_simple_oct2point() local
313 enc_len = in ossl_ec_GFp_simple_oct2point()
317 if (len != enc_len) { in ossl_ec_GFp_simple_oct2point()
/third_party/node/deps/openssl/openssl/include/crypto/
H A Dpunycode.h16 const size_t enc_len,
/third_party/openssl/include/crypto/
H A Dpunycode.h16 const size_t enc_len,
/third_party/openssl/ohos_lite/include/openssl/
H A Dx509.h250 int enc_len; member
/third_party/node/deps/openssl/config/archs/linux-armv4/asm_avx2/include/openssl/
H A Dx509.h384 int enc_len; member
/third_party/node/deps/openssl/config/archs/linux-elf/asm/include/openssl/
H A Dx509.h384 int enc_len; member
/third_party/node/deps/openssl/config/archs/darwin64-arm64-cc/asm/include/openssl/
H A Dx509.h384 int enc_len; member
/third_party/node/deps/openssl/config/archs/darwin-i386-cc/no-asm/include/openssl/
H A Dx509.h384 int enc_len; member
/third_party/node/deps/openssl/config/archs/linux-aarch64/asm/include/openssl/
H A Dx509.h384 int enc_len; member
/third_party/node/deps/openssl/config/archs/linux-aarch64/no-asm/include/openssl/
H A Dx509.h384 int enc_len; member
/third_party/node/deps/openssl/config/archs/linux-armv4/no-asm/include/openssl/
H A Dx509.h384 int enc_len; member
/third_party/node/deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/include/openssl/
H A Dx509.h384 int enc_len; member
/third_party/node/deps/openssl/config/archs/linux-armv4/asm/include/openssl/
H A Dx509.h384 int enc_len; member
/third_party/node/deps/openssl/config/archs/linux-elf/asm_avx2/include/openssl/
H A Dx509.h384 int enc_len; member

Completed in 42 milliseconds

123