Home
last modified time | relevance | path

Searched refs:inlen (Results 1 - 25 of 719) sorted by relevance

12345678910>>...29

/third_party/node/deps/openssl/openssl/crypto/modes/
H A Dwrap128.c39 * @param[in] inlen Length of in.
40 * @param[out] out Ciphertext. Minimal buffer length = (inlen + 8) bytes.
44 * @return 0 if inlen does not consist of n 64-bit blocks, n >= 2.
45 * or if inlen > CRYPTO128_WRAP_MAX.
50 const unsigned char *in, size_t inlen, in CRYPTO_128_wrap()
55 if ((inlen & 0x7) || (inlen < 16) || (inlen > CRYPTO128_WRAP_MAX)) in CRYPTO_128_wrap()
59 memmove(out + 8, in, inlen); in CRYPTO_128_wrap()
67 for (i = 0; i < inlen; in CRYPTO_128_wrap()
48 CRYPTO_128_wrap(void *key, const unsigned char *iv, unsigned char *out, const unsigned char *in, size_t inlen, block128_f block) CRYPTO_128_wrap() argument
99 crypto_128_unwrap_raw(void *key, unsigned char *iv, unsigned char *out, const unsigned char *in, size_t inlen, block128_f block) crypto_128_unwrap_raw() argument
150 CRYPTO_128_unwrap(void *key, const unsigned char *iv, unsigned char *out, const unsigned char *in, size_t inlen, block128_f block) CRYPTO_128_unwrap() argument
183 CRYPTO_128_wrap_pad(void *key, const unsigned char *icv, unsigned char *out, const unsigned char *in, size_t inlen, block128_f block) CRYPTO_128_wrap_pad() argument
251 CRYPTO_128_unwrap_pad(void *key, const unsigned char *icv, unsigned char *out, const unsigned char *in, size_t inlen, block128_f block) CRYPTO_128_unwrap_pad() argument
[all...]
/third_party/openssl/crypto/modes/
H A Dwrap128.c39 * @param[in] inlen Length of in.
40 * @param[out] out Ciphertext. Minimal buffer length = (inlen + 8) bytes.
44 * @return 0 if inlen does not consist of n 64-bit blocks, n >= 2.
45 * or if inlen > CRYPTO128_WRAP_MAX.
50 const unsigned char *in, size_t inlen, in CRYPTO_128_wrap()
55 if ((inlen & 0x7) || (inlen < 16) || (inlen > CRYPTO128_WRAP_MAX)) in CRYPTO_128_wrap()
59 memmove(out + 8, in, inlen); in CRYPTO_128_wrap()
67 for (i = 0; i < inlen; in CRYPTO_128_wrap()
48 CRYPTO_128_wrap(void *key, const unsigned char *iv, unsigned char *out, const unsigned char *in, size_t inlen, block128_f block) CRYPTO_128_wrap() argument
99 crypto_128_unwrap_raw(void *key, unsigned char *iv, unsigned char *out, const unsigned char *in, size_t inlen, block128_f block) crypto_128_unwrap_raw() argument
150 CRYPTO_128_unwrap(void *key, const unsigned char *iv, unsigned char *out, const unsigned char *in, size_t inlen, block128_f block) CRYPTO_128_unwrap() argument
183 CRYPTO_128_wrap_pad(void *key, const unsigned char *icv, unsigned char *out, const unsigned char *in, size_t inlen, block128_f block) CRYPTO_128_wrap_pad() argument
251 CRYPTO_128_unwrap_pad(void *key, const unsigned char *icv, unsigned char *out, const unsigned char *in, size_t inlen, block128_f block) CRYPTO_128_unwrap_pad() argument
[all...]
/third_party/eudev/src/shared/
H A Dsiphash24.c56 void siphash24(uint8_t out[8], const void *_in, size_t inlen, const uint8_t k[16]) in siphash24() argument
68 const u8 *end = in + inlen - ( inlen % sizeof( u64 ) ); in siphash24()
69 const int left = inlen & 7; in siphash24()
70 b = ( ( u64 )inlen ) << 56; in siphash24()
80 printf( "(%3d) v0 %08x %08x\n", ( int )inlen, ( u32 )( v0 >> 32 ), ( u32 )v0 ); in siphash24()
81 printf( "(%3d) v1 %08x %08x\n", ( int )inlen, ( u32 )( v1 >> 32 ), ( u32 )v1 ); in siphash24()
82 printf( "(%3d) v2 %08x %08x\n", ( int )inlen, ( u32 )( v2 >> 32 ), ( u32 )v2 ); in siphash24()
83 printf( "(%3d) v3 %08x %08x\n", ( int )inlen, ( u32 )( v3 >> 32 ), ( u32 )v3 ); in siphash24()
84 printf( "(%3d) compress %08x %08x\n", ( int )inlen, ( u3 in siphash24()
[all...]
/third_party/nghttp2/src/
H A Dnghttp2_gzip_test.c37 size_t inlen) { in deflate_data()
44 zst.avail_in = (unsigned int)inlen; in deflate_data()
68 size_t inlen = sizeof(in); in test_nghttp2_gzip_inflate() local
72 inlen = deflate_data(in, inlen, (const uint8_t *)input, sizeof(input) - 1); in test_nghttp2_gzip_inflate()
77 inproclen = inlen; in test_nghttp2_gzip_inflate()
86 inlen -= inproclen; in test_nghttp2_gzip_inflate()
87 inproclen = inlen; in test_nghttp2_gzip_inflate()
97 inlen -= inproclen; in test_nghttp2_gzip_inflate()
98 inproclen = inlen; in test_nghttp2_gzip_inflate()
36 deflate_data(uint8_t *out, size_t outlen, const uint8_t *in, size_t inlen) deflate_data() argument
[all...]
/kernel/linux/linux-5.10/include/crypto/internal/
H A Dblake2s.h30 __blake2s_update(struct blake2s_state *state, const u8 *in, size_t inlen, in __blake2s_update() argument
35 if (unlikely(!inlen)) in __blake2s_update()
37 if (inlen > fill) { in __blake2s_update()
47 inlen -= fill; in __blake2s_update()
49 if (inlen > BLAKE2S_BLOCK_SIZE) { in __blake2s_update()
50 const size_t nblocks = DIV_ROUND_UP(inlen, BLAKE2S_BLOCK_SIZE); in __blake2s_update()
59 inlen -= BLAKE2S_BLOCK_SIZE * (nblocks - 1); in __blake2s_update()
61 memcpy(state->buf + state->buflen, in, inlen); in __blake2s_update()
62 state->buflen += inlen; in __blake2s_update()
111 const u8 *in, unsigned int inlen, in crypto_blake2s_update()
110 crypto_blake2s_update(struct shash_desc *desc, const u8 *in, unsigned int inlen, bool force_generic) crypto_blake2s_update() argument
[all...]
/kernel/linux/linux-6.6/include/crypto/internal/
H A Dblake2b.h26 const u8 *in, size_t inlen, in __blake2b_update()
31 if (unlikely(!inlen)) in __blake2b_update()
33 if (inlen > fill) { in __blake2b_update()
38 inlen -= fill; in __blake2b_update()
40 if (inlen > BLAKE2B_BLOCK_SIZE) { in __blake2b_update()
41 const size_t nblocks = DIV_ROUND_UP(inlen, BLAKE2B_BLOCK_SIZE); in __blake2b_update()
45 inlen -= BLAKE2B_BLOCK_SIZE * (nblocks - 1); in __blake2b_update()
47 memcpy(state->buf + state->buflen, in, inlen); in __blake2b_update()
48 state->buflen += inlen; in __blake2b_update()
97 const u8 *in, unsigned int inlen, in crypto_blake2b_update()
25 __blake2b_update(struct blake2b_state *state, const u8 *in, size_t inlen, blake2b_compress_t compress) __blake2b_update() argument
96 crypto_blake2b_update(struct shash_desc *desc, const u8 *in, unsigned int inlen, blake2b_compress_t compress) crypto_blake2b_update() argument
[all...]
/third_party/node/deps/openssl/openssl/providers/implementations/ciphers/
H A Dciphercommon_block.c48 * inlen: amount of input data available
52 * the new location where input data should be read from, *inlen is updated with
53 * the remaining amount of data in *in. Returns the largest value <= *inlen
58 const unsigned char **in, size_t *inlen) in ossl_cipher_fillblock()
66 if (*inlen < bufremain) in ossl_cipher_fillblock()
67 bufremain = *inlen; in ossl_cipher_fillblock()
70 *inlen -= bufremain; in ossl_cipher_fillblock()
73 return *inlen & blockmask; in ossl_cipher_fillblock()
81 const unsigned char **in, size_t *inlen) in ossl_cipher_trailingdata()
83 if (*inlen in ossl_cipher_trailingdata()
56 ossl_cipher_fillblock(unsigned char *buf, size_t *buflen, size_t blocksize, const unsigned char **in, size_t *inlen) ossl_cipher_fillblock() argument
80 ossl_cipher_trailingdata(unsigned char *buf, size_t *buflen, size_t blocksize, const unsigned char **in, size_t *inlen) ossl_cipher_trailingdata() argument
[all...]
/third_party/openssl/providers/implementations/ciphers/
H A Dciphercommon_block.c48 * inlen: amount of input data available
52 * the new location where input data should be read from, *inlen is updated with
53 * the remaining amount of data in *in. Returns the largest value <= *inlen
58 const unsigned char **in, size_t *inlen) in ossl_cipher_fillblock()
66 if (*inlen < bufremain) in ossl_cipher_fillblock()
67 bufremain = *inlen; in ossl_cipher_fillblock()
70 *inlen -= bufremain; in ossl_cipher_fillblock()
73 return *inlen & blockmask; in ossl_cipher_fillblock()
81 const unsigned char **in, size_t *inlen) in ossl_cipher_trailingdata()
83 if (*inlen in ossl_cipher_trailingdata()
56 ossl_cipher_fillblock(unsigned char *buf, size_t *buflen, size_t blocksize, const unsigned char **in, size_t *inlen) ossl_cipher_fillblock() argument
80 ossl_cipher_trailingdata(unsigned char *buf, size_t *buflen, size_t blocksize, const unsigned char **in, size_t *inlen) ossl_cipher_trailingdata() argument
[all...]
/third_party/toybox/toys/posix/
H A Diconv.c38 size_t outlen, inlen = 0; in do_iconv() local
44 if (readlen && 0>(readlen = read(fd, in+inlen, 2048-inlen))) { in do_iconv()
48 inlen += readlen; in do_iconv()
49 if (!inlen) break; in do_iconv()
52 iconv(TT.ic, &in, &inlen, &out, &outlen); in do_iconv()
57 inlen--; in do_iconv()
60 memmove(toybuf, in, inlen); in do_iconv()
/kernel/linux/linux-6.6/lib/crypto/
H A Dblake2s.c24 void blake2s_update(struct blake2s_state *state, const u8 *in, size_t inlen) in blake2s_update() argument
28 if (unlikely(!inlen)) in blake2s_update()
30 if (inlen > fill) { in blake2s_update()
35 inlen -= fill; in blake2s_update()
37 if (inlen > BLAKE2S_BLOCK_SIZE) { in blake2s_update()
38 const size_t nblocks = DIV_ROUND_UP(inlen, BLAKE2S_BLOCK_SIZE); in blake2s_update()
41 inlen -= BLAKE2S_BLOCK_SIZE * (nblocks - 1); in blake2s_update()
43 memcpy(state->buf + state->buflen, in, inlen); in blake2s_update()
44 state->buflen += inlen; in blake2s_update()
/third_party/node/deps/openssl/openssl/crypto/pkcs12/
H A Dp12_decr.c21 const unsigned char *in, int inlen, in PKCS12_pbe_crypt_ex()
46 max_out_len = inlen + EVP_CIPHER_CTX_get_block_size(ctx); in PKCS12_pbe_crypt_ex()
57 if (inlen < mac_len) { in PKCS12_pbe_crypt_ex()
61 inlen -= mac_len; in PKCS12_pbe_crypt_ex()
63 (int)mac_len, (unsigned char *)in+inlen) < 0) { in PKCS12_pbe_crypt_ex()
75 if (!EVP_CipherUpdate(ctx, out, &i, in, inlen)) { in PKCS12_pbe_crypt_ex()
117 const unsigned char *in, int inlen, in PKCS12_pbe_crypt()
120 return PKCS12_pbe_crypt_ex(algor, pass, passlen, in, inlen, data, datalen, in PKCS12_pbe_crypt()
180 int inlen; in PKCS12_item_i2d_encrypt_ex() local
186 inlen in PKCS12_item_i2d_encrypt_ex()
19 PKCS12_pbe_crypt_ex(const X509_ALGOR *algor, const char *pass, int passlen, const unsigned char *in, int inlen, unsigned char **data, int *datalen, int en_de, OSSL_LIB_CTX *libctx, const char *propq) PKCS12_pbe_crypt_ex() argument
115 PKCS12_pbe_crypt(const X509_ALGOR *algor, const char *pass, int passlen, const unsigned char *in, int inlen, unsigned char **data, int *datalen, int en_de) PKCS12_pbe_crypt() argument
[all...]
/third_party/openssl/crypto/pkcs12/
H A Dp12_decr.c21 const unsigned char *in, int inlen, in PKCS12_pbe_crypt_ex()
46 max_out_len = inlen + EVP_CIPHER_CTX_get_block_size(ctx); in PKCS12_pbe_crypt_ex()
57 if (inlen < mac_len) { in PKCS12_pbe_crypt_ex()
61 inlen -= mac_len; in PKCS12_pbe_crypt_ex()
63 (int)mac_len, (unsigned char *)in+inlen) < 0) { in PKCS12_pbe_crypt_ex()
75 if (!EVP_CipherUpdate(ctx, out, &i, in, inlen)) { in PKCS12_pbe_crypt_ex()
117 const unsigned char *in, int inlen, in PKCS12_pbe_crypt()
120 return PKCS12_pbe_crypt_ex(algor, pass, passlen, in, inlen, data, datalen, in PKCS12_pbe_crypt()
180 int inlen; in PKCS12_item_i2d_encrypt_ex() local
186 inlen in PKCS12_item_i2d_encrypt_ex()
19 PKCS12_pbe_crypt_ex(const X509_ALGOR *algor, const char *pass, int passlen, const unsigned char *in, int inlen, unsigned char **data, int *datalen, int en_de, OSSL_LIB_CTX *libctx, const char *propq) PKCS12_pbe_crypt_ex() argument
115 PKCS12_pbe_crypt(const X509_ALGOR *algor, const char *pass, int passlen, const unsigned char *in, int inlen, unsigned char **data, int *datalen, int en_de) PKCS12_pbe_crypt() argument
[all...]
/third_party/nghttp2/lib/
H A Dnghttp2_npn.c30 const unsigned char *in, unsigned int inlen, in select_next_protocol()
33 for (i = 0; i + keylen <= inlen; i += (unsigned int)(in[i] + 1)) { in select_next_protocol()
47 const unsigned char *in, unsigned int inlen) { in nghttp2_select_next_protocol()
48 if (select_next_protocol(out, outlen, in, inlen, NGHTTP2_PROTO_ALPN, in nghttp2_select_next_protocol()
52 if (select_next_protocol(out, outlen, in, inlen, NGHTTP2_HTTP_1_1_ALPN, in nghttp2_select_next_protocol()
29 select_next_protocol(unsigned char **out, unsigned char *outlen, const unsigned char *in, unsigned int inlen, const char *key, unsigned int keylen) select_next_protocol() argument
46 nghttp2_select_next_protocol(unsigned char **out, unsigned char *outlen, const unsigned char *in, unsigned int inlen) nghttp2_select_next_protocol() argument
/third_party/node/deps/nghttp2/lib/
H A Dnghttp2_npn.c30 const unsigned char *in, unsigned int inlen, in select_next_protocol()
33 for (i = 0; i + keylen <= inlen; i += (unsigned int)(in[i] + 1)) { in select_next_protocol()
47 const unsigned char *in, unsigned int inlen) { in nghttp2_select_next_protocol()
48 if (select_next_protocol(out, outlen, in, inlen, NGHTTP2_PROTO_ALPN, in nghttp2_select_next_protocol()
52 if (select_next_protocol(out, outlen, in, inlen, NGHTTP2_HTTP_1_1_ALPN, in nghttp2_select_next_protocol()
29 select_next_protocol(unsigned char **out, unsigned char *outlen, const unsigned char *in, unsigned int inlen, const char *key, unsigned int keylen) select_next_protocol() argument
46 nghttp2_select_next_protocol(unsigned char **out, unsigned char *outlen, const unsigned char *in, unsigned int inlen) nghttp2_select_next_protocol() argument
/third_party/protobuf/src/google/protobuf/testing/
H A Dzcgunzip.cc68 int inlen; in main() local
70 ok = in.Next(&inptr, &inlen); in main()
74 if (inlen > 0) { in main()
75 int err = write(STDOUT_FILENO, inptr, inlen); in main()
76 if (err != inlen) { in main()
/kernel/linux/linux-6.6/drivers/cdx/controller/
H A Dmcdi.c54 size_t inlen, int raw, int arg, int err_no);
227 size_t inlen = cmd->inlen; in cdx_mcdi_send_request() local
245 WARN_ON(inlen > MCDI_CTL_SDU_LEN_MAX_V2); in cdx_mcdi_send_request()
256 MC_CMD_V2_EXTN_IN_ACTUAL_LEN, inlen, in cdx_mcdi_send_request()
261 hdr[0].cdx_u32 |= (__force __le32)(cdx_mcdi_payload_csum(hdr, hdr_len, inbuf, inlen) << in cdx_mcdi_send_request()
265 print_hex_dump_debug("MCDI REQ PAYLOAD: ", DUMP_PREFIX_NONE, 32, 4, inbuf, inlen, false); in cdx_mcdi_send_request()
267 cdx->mcdi_ops->mcdi_request(cdx, hdr, hdr_len, inbuf, inlen); in cdx_mcdi_send_request()
362 pr_debug("command %#x inlen %zu cancelled in queue\n", in _cdx_mcdi_cancel_cmd()
363 cmd->cmd, cmd->inlen); in _cdx_mcdi_cancel_cmd()
426 cdx_mcdi_rpc_sync(struct cdx_mcdi *cdx, unsigned int cmd, const struct cdx_dword *inbuf, size_t inlen, struct cdx_dword *outbuf, size_t outlen, size_t *outlen_actual, bool quiet) cdx_mcdi_rpc_sync() argument
756 cdx_mcdi_rpc(struct cdx_mcdi *cdx, unsigned int cmd, const struct cdx_dword *inbuf, size_t inlen, struct cdx_dword *outbuf, size_t outlen, size_t *outlen_actual) cdx_mcdi_rpc() argument
784 cdx_mcdi_rpc_async(struct cdx_mcdi *cdx, unsigned int cmd, const struct cdx_dword *inbuf, size_t inlen, cdx_mcdi_async_completer *complete, unsigned long cookie) cdx_mcdi_rpc_async() argument
807 _cdx_mcdi_display_error(struct cdx_mcdi *cdx, unsigned int cmd, size_t inlen, int raw, int arg, int err_no) _cdx_mcdi_display_error() argument
[all...]
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/
H A Diconvndk.cpp39 size_t inlen = strlen(inbuf); in Iconv() local
47 r = iconv(cd, &inbuf, &inlen, &outbuf, &outlen); in Iconv()
49 r = iconv(cd, &inbuf, &inlen, &outbuf, &outlen); in Iconv()
63 size_t inlen = strlen(inbuf); in IconvOpen() local
70 iconv(cd, &inbuf, &inlen, &outbuf, &outlen); in IconvOpen()
72 iconv(cd, &inbuf, &inlen, &outbuf, &outlen); in IconvOpen()
90 size_t inlen = strlen(inbuf); in IconvClose() local
97 iconv(cd, &inbuf, &inlen, &outbuf, &outlen); in IconvClose()
99 iconv(cd, &inbuf, &inlen, &outbuf, &outlen); in IconvClose()
/third_party/node/deps/openssl/openssl/crypto/cms/
H A Dcms_pwri.c190 const unsigned char *in, size_t inlen, in kek_unwrap_key()
196 if (inlen < 2 * blocklen) { in kek_unwrap_key()
200 if (inlen % blocklen) { in kek_unwrap_key()
204 if ((tmp = OPENSSL_malloc(inlen)) == NULL) { in kek_unwrap_key()
209 if (!EVP_DecryptUpdate(ctx, tmp + inlen - 2 * blocklen, &outl, in kek_unwrap_key()
210 in + inlen - 2 * blocklen, blocklen * 2) in kek_unwrap_key()
217 tmp + inlen - blocklen, blocklen) in kek_unwrap_key()
219 || !EVP_DecryptUpdate(ctx, tmp, &outl, in, inlen - blocklen) in kek_unwrap_key()
224 || !EVP_DecryptUpdate(ctx, tmp, &outl, tmp, inlen)) in kek_unwrap_key()
231 if (inlen < (size_ in kek_unwrap_key()
189 kek_unwrap_key(unsigned char *out, size_t *outlen, const unsigned char *in, size_t inlen, EVP_CIPHER_CTX *ctx) kek_unwrap_key() argument
244 kek_wrap_key(unsigned char *out, size_t *outlen, const unsigned char *in, size_t inlen, EVP_CIPHER_CTX *ctx, const CMS_CTX *cms_ctx) kek_wrap_key() argument
[all...]
/third_party/openssl/crypto/cms/
H A Dcms_pwri.c190 const unsigned char *in, size_t inlen, in kek_unwrap_key()
196 if (inlen < 2 * blocklen) { in kek_unwrap_key()
200 if (inlen % blocklen) { in kek_unwrap_key()
204 if ((tmp = OPENSSL_malloc(inlen)) == NULL) { in kek_unwrap_key()
209 if (!EVP_DecryptUpdate(ctx, tmp + inlen - 2 * blocklen, &outl, in kek_unwrap_key()
210 in + inlen - 2 * blocklen, blocklen * 2) in kek_unwrap_key()
217 tmp + inlen - blocklen, blocklen) in kek_unwrap_key()
219 || !EVP_DecryptUpdate(ctx, tmp, &outl, in, inlen - blocklen) in kek_unwrap_key()
224 || !EVP_DecryptUpdate(ctx, tmp, &outl, tmp, inlen)) in kek_unwrap_key()
231 if (inlen < (size_ in kek_unwrap_key()
189 kek_unwrap_key(unsigned char *out, size_t *outlen, const unsigned char *in, size_t inlen, EVP_CIPHER_CTX *ctx) kek_unwrap_key() argument
244 kek_wrap_key(unsigned char *out, size_t *outlen, const unsigned char *in, size_t inlen, EVP_CIPHER_CTX *ctx, const CMS_CTX *cms_ctx) kek_wrap_key() argument
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
H A Dcrypto_internal-rsa.c73 const u8 *in, size_t inlen, in crypto_public_key_encrypt_pkcs1_v15()
77 0, in, inlen, out, outlen); in crypto_public_key_encrypt_pkcs1_v15()
82 const u8 *in, size_t inlen, in crypto_private_key_decrypt_pkcs1_v15()
86 in, inlen, out, outlen); in crypto_private_key_decrypt_pkcs1_v15()
91 const u8 *in, size_t inlen, in crypto_private_key_sign_pkcs1()
95 1, in, inlen, out, outlen); in crypto_private_key_sign_pkcs1()
72 crypto_public_key_encrypt_pkcs1_v15(struct crypto_public_key *key, const u8 *in, size_t inlen, u8 *out, size_t *outlen) crypto_public_key_encrypt_pkcs1_v15() argument
81 crypto_private_key_decrypt_pkcs1_v15(struct crypto_private_key *key, const u8 *in, size_t inlen, u8 *out, size_t *outlen) crypto_private_key_decrypt_pkcs1_v15() argument
90 crypto_private_key_sign_pkcs1(struct crypto_private_key *key, const u8 *in, size_t inlen, u8 *out, size_t *outlen) crypto_private_key_sign_pkcs1() argument
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
H A Dcrypto_internal-rsa.c73 const u8 *in, size_t inlen, in crypto_public_key_encrypt_pkcs1_v15()
77 0, in, inlen, out, outlen); in crypto_public_key_encrypt_pkcs1_v15()
82 const u8 *in, size_t inlen, in crypto_private_key_decrypt_pkcs1_v15()
86 in, inlen, out, outlen); in crypto_private_key_decrypt_pkcs1_v15()
91 const u8 *in, size_t inlen, in crypto_private_key_sign_pkcs1()
95 1, in, inlen, out, outlen); in crypto_private_key_sign_pkcs1()
72 crypto_public_key_encrypt_pkcs1_v15(struct crypto_public_key *key, const u8 *in, size_t inlen, u8 *out, size_t *outlen) crypto_public_key_encrypt_pkcs1_v15() argument
81 crypto_private_key_decrypt_pkcs1_v15(struct crypto_private_key *key, const u8 *in, size_t inlen, u8 *out, size_t *outlen) crypto_private_key_decrypt_pkcs1_v15() argument
90 crypto_private_key_sign_pkcs1(struct crypto_private_key *key, const u8 *in, size_t inlen, u8 *out, size_t *outlen) crypto_private_key_sign_pkcs1() argument
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Drqt.c20 int inlen; in mlx5e_rqt_init() local
28 inlen = MLX5_ST_SZ_BYTES(create_rqt_in) + sizeof(u32) * init_size; in mlx5e_rqt_init()
29 in = kvzalloc(inlen, GFP_KERNEL); in mlx5e_rqt_init()
41 err = mlx5_core_create_rqt(rqt->mdev, in, inlen, &rqt->rqtn); in mlx5e_rqt_init()
121 int inlen; in mlx5e_rqt_redirect() local
125 inlen = MLX5_ST_SZ_BYTES(modify_rqt_in) + sizeof(u32) * size; in mlx5e_rqt_redirect()
126 in = kvzalloc(inlen, GFP_KERNEL); in mlx5e_rqt_redirect()
137 err = mlx5_core_modify_rqt(rqt->mdev, rqt->rqtn, in, inlen); in mlx5e_rqt_redirect()
/third_party/node/deps/openssl/openssl/providers/implementations/rands/
H A Ddrbg_ctr.c71 static void ctr_XOR(PROV_DRBG_CTR *ctr, const unsigned char *in, size_t inlen) in ctr_XOR() argument
75 if (in == NULL || inlen == 0) in ctr_XOR()
82 n = inlen < ctr->keylen ? inlen : ctr->keylen; in ctr_XOR()
85 if (inlen <= ctr->keylen) in ctr_XOR()
88 n = inlen - ctr->keylen; in ctr_XOR()
152 const unsigned char *in, size_t inlen) in ctr_BCC_update()
154 if (in == NULL || inlen == 0) in ctr_BCC_update()
162 if (inlen >= left) { in ctr_BCC_update()
167 inlen in ctr_BCC_update()
151 ctr_BCC_update(PROV_DRBG_CTR *ctr, const unsigned char *in, size_t inlen) ctr_BCC_update() argument
202 size_t inlen; ctr_df() local
[all...]
/third_party/openssl/providers/implementations/rands/
H A Ddrbg_ctr.c71 static void ctr_XOR(PROV_DRBG_CTR *ctr, const unsigned char *in, size_t inlen) in ctr_XOR() argument
75 if (in == NULL || inlen == 0) in ctr_XOR()
82 n = inlen < ctr->keylen ? inlen : ctr->keylen; in ctr_XOR()
85 if (inlen <= ctr->keylen) in ctr_XOR()
88 n = inlen - ctr->keylen; in ctr_XOR()
152 const unsigned char *in, size_t inlen) in ctr_BCC_update()
154 if (in == NULL || inlen == 0) in ctr_BCC_update()
162 if (inlen >= left) { in ctr_BCC_update()
167 inlen in ctr_BCC_update()
151 ctr_BCC_update(PROV_DRBG_CTR *ctr, const unsigned char *in, size_t inlen) ctr_BCC_update() argument
202 size_t inlen; ctr_df() local
[all...]
/third_party/node/deps/openssl/openssl/crypto/aes/
H A Daes_wrap.c22 const unsigned char *in, unsigned int inlen) in AES_wrap_key()
24 return CRYPTO_128_wrap(key, iv, out, in, inlen, (block128_f) AES_encrypt); in AES_wrap_key()
29 const unsigned char *in, unsigned int inlen) in AES_unwrap_key()
31 return CRYPTO_128_unwrap(key, iv, out, in, inlen, in AES_unwrap_key()
20 AES_wrap_key(AES_KEY *key, const unsigned char *iv, unsigned char *out, const unsigned char *in, unsigned int inlen) AES_wrap_key() argument
27 AES_unwrap_key(AES_KEY *key, const unsigned char *iv, unsigned char *out, const unsigned char *in, unsigned int inlen) AES_unwrap_key() argument

Completed in 10 milliseconds

12345678910>>...29