Home
last modified time | relevance | path

Searched defs:n (Results 1 – 25 of 57) sorted by relevance

123

/mbedtls-3.7.0/library/
Dpsa_crypto_core_common.h30 unsigned char *p, size_t n) in psa_crypto_buffer_offset()
47 const unsigned char *p, size_t n) in psa_crypto_buffer_offset_const()
Dplatform.c25 static void *platform_calloc_uninit(size_t n, size_t size) in platform_calloc_uninit()
70 int mbedtls_platform_win32_snprintf(char *s, size_t n, const char *fmt, ...) in mbedtls_platform_win32_snprintf()
88 static int platform_snprintf_uninit(char *s, size_t n, in platform_snprintf_uninit()
104 int mbedtls_platform_set_snprintf(int (*snprintf_func)(char *s, size_t n, in mbedtls_platform_set_snprintf()
115 int mbedtls_platform_win32_vsnprintf(char *s, size_t n, const char *fmt, va_list arg) in mbedtls_platform_win32_vsnprintf()
143 static int platform_vsnprintf_uninit(char *s, size_t n, in platform_vsnprintf_uninit()
160 int mbedtls_platform_set_vsnprintf(int (*vsnprintf_func)(char *s, size_t n, in mbedtls_platform_set_vsnprintf()
296 size_t n; in mbedtls_platform_std_nv_seed_read() local
318 size_t n; in mbedtls_platform_std_nv_seed_write() local
Dcamellia.c59 #define SBOX1(n) FSb[(n)] argument
60 #define SBOX2(n) (unsigned char) ((FSb[(n)] >> 7 ^ FSb[(n)] << 1) & 0xff) argument
61 #define SBOX3(n) (unsigned char) ((FSb[(n)] >> 1 ^ FSb[(n)] << 7) & 0xff) argument
62 #define SBOX4(n) FSb[((n) << 1 ^ (n) >> 7) &0xff] argument
146 #define SBOX1(n) FSb[(n)] argument
147 #define SBOX2(n) FSb2[(n)] argument
148 #define SBOX3(n) FSb3[(n)] argument
149 #define SBOX4(n) FSb4[(n)] argument
578 size_t n; in mbedtls_camellia_crypt_cfb128() local
631 size_t n; in mbedtls_camellia_crypt_ctr() local
Dalignment.h427 #define MBEDTLS_PUT_UINT32_BE(n, data, offset) \ argument
464 #define MBEDTLS_PUT_UINT32_LE(n, data, offset) \ argument
500 #define MBEDTLS_PUT_UINT16_LE(n, data, offset) \ argument
536 #define MBEDTLS_PUT_UINT16_BE(n, data, offset) \ argument
573 #define MBEDTLS_PUT_UINT24_BE(n, data, offset) \ argument
605 #define MBEDTLS_PUT_UINT24_LE(n, data, offset) \ argument
636 #define MBEDTLS_PUT_UINT64_BE(n, data, offset) \ argument
672 #define MBEDTLS_PUT_UINT64_LE(n, data, offset) \ argument
Dcommon.h139 unsigned char *p, size_t n) in mbedtls_buffer_offset()
156 const unsigned char *p, size_t n) in mbedtls_buffer_offset_const()
189 size_t n) in mbedtls_xor()
271 size_t n) in mbedtls_xor_no_simd()
Dnet_sockets.c207 int n, ret; in mbedtls_net_bind() local
329 socklen_t n = (socklen_t) sizeof(client_addr); in mbedtls_net_accept() local
332 int n = (int) sizeof(client_addr); in mbedtls_net_accept() local
431 u_long n = 0; in mbedtls_net_set_block() local
442 u_long n = 1; in mbedtls_net_set_nonblock() local
Dpsa_its_file.c80 size_t n; in psa_its_read_file() local
127 size_t n; in psa_its_get() local
188 size_t n; in psa_its_set() local
Dconstant_time.c70 size_t n) in mbedtls_ct_memcmp()
123 size_t n, in mbedtls_ct_memcmp_partial()
159 for (size_t n = 0; n < total - 1; n++) { in mbedtls_ct_memmove_left() local
Dbase64.c64 size_t i, n; in mbedtls_base64_encode() local
132 size_t n; /* number of digits or trailing = in source */ in mbedtls_base64_decode() local
Ddhm.c45 int ret, n; in dhm_read_bignum() local
241 #define DHM_MPI_EXPORT(X, n) \ in mbedtls_dhm_make_params() argument
580 static int load_file(const char *path, unsigned char **buf, size_t *n) in load_file()
630 size_t n; in mbedtls_dhm_parse_dhmfile() local
Dx509.c815 size_t i, j, n, asn1_len_size, asn1_tag_size, asn1_tag_len_buf_start; in mbedtls_x509_dn_gets() local
948 size_t i, n, nr; in mbedtls_x509_serial_gets() local
985 size_t n = size; in mbedtls_x509_sig_alg_gets() local
1027 size_t n = buf_size; in mbedtls_x509_key_size_helper() local
1518 size_t n = *size; in mbedtls_x509_info_subject_alt_name() local
1725 size_t n = *size; in mbedtls_x509_info_cert_type() local
1755 size_t n = *size; in mbedtls_x509_info_key_usage() local
Dx509_crl.c570 size_t n; in mbedtls_x509_crl_parse_file() local
598 size_t n; in mbedtls_x509_crl_info() local
Dx509_csr.c507 size_t n; in mbedtls_x509_csr_parse_file() local
532 size_t n; in mbedtls_x509_csr_info() local
Dbignum.c175 #define mbedtls_mpi_zeroize_and_free(v, n) mbedtls_zeroize_and_free(v, ciL * (n)) argument
515 size_t i, j, slen, n; in mbedtls_mpi_read_string() local
618 size_t n; in mbedtls_mpi_write_string() local
747 size_t n, slen, plen; in mbedtls_mpi_write_file() local
1063 size_t n; in mbedtls_mpi_sub_abs() local
1254 size_t n = A->n; in mbedtls_mpi_mul_int() local
1396 size_t i, n, t, k; in mbedtls_mpi_div_mpi() local
2171 size_t k, n; in mbedtls_mpi_gen_prime() local
Daria.c323 const uint32_t b[4], uint8_t n) in aria_rot128()
572 size_t n; in mbedtls_aria_crypt_cfb128() local
629 size_t n; in mbedtls_aria_crypt_ctr() local
Dhkdf.c69 size_t n; in mbedtls_hkdf_expand() local
Dpkparse.c1298 int mbedtls_pk_load_file(const char *path, unsigned char **buf, size_t *n) in mbedtls_pk_load_file()
1352 size_t n; in mbedtls_pk_parse_keyfile() local
1377 size_t n; in mbedtls_pk_parse_public_keyfile() local
Dsha512.c213 static void sha512_put_uint64_be(uint64_t n, unsigned char *b, uint8_t i) in sha512_put_uint64_be()
610 #define SHR(x, n) ((x) >> (n)) in mbedtls_internal_sha512_process_c() argument
611 #define ROTR(x, n) (SHR((x), (n)) | ((x) << (64 - (n)))) in mbedtls_internal_sha512_process_c() argument
/mbedtls-3.7.0/programs/util/
Dpem2der.c105 static int load_file(const char *path, unsigned char **buf, size_t *n) in load_file()
146 static int write_file(const char *path, unsigned char *buf, size_t n) in write_file()
/mbedtls-3.7.0/programs/test/
Ddlopen.c44 unsigned n; in main() local
/mbedtls-3.7.0/programs/pkey/
Ddh_client.c62 size_t n, buflen; in main() local
Ddh_server.c55 size_t n, buflen; in main() local
/mbedtls-3.7.0/programs/psa/
Dpsa_constant_names.c17 int snprintf(char *s, size_t n, const char *fmt, ...) in snprintf()
59 size_t n = snprintf(*buffer, buffer_size - *required_size, format, value); in append_integer() local
/mbedtls-3.7.0/programs/hash/
Dgeneric_sum.c63 size_t n; in generic_check() local
/mbedtls-3.7.0/programs/aes/
Dcrypt_and_hash.c61 unsigned n; in main() local

123