Home
last modified time | relevance | path

Searched refs:n (Results 1 – 25 of 63) sorted by relevance

123

/include/crypto/
A Dmd32_common.h104 # define ROTATE(a,n) (((a)<<(n))|(((a)&0xffffffff)>>(32-(n)))) argument
163 size_t n; in HASH_UPDATE() local
175 n = c->num; in HASH_UPDATE()
180 memcpy(p + n, data, HASH_CBLOCK - n); in HASH_UPDATE()
182 n = HASH_CBLOCK - n; in HASH_UPDATE()
201 if (n > 0) { in HASH_UPDATE()
205 len -= n; in HASH_UPDATE()
227 n++; in HASH_FINAL()
230 memset(p + n, 0, HASH_CBLOCK - n); in HASH_FINAL()
231 n = 0; in HASH_FINAL()
[all …]
A Dsparse_array.h61 *ossl_sa_##type##_get(const SPARSE_ARRAY_OF(type) *sa, ossl_uintmax_t n) \
63 return (type *)ossl_sa_get((OPENSSL_SA *)sa, n); \
67 ossl_uintmax_t n, ctype *val) \
69 return ossl_sa_set((OPENSSL_SA *)sa, n, (void *)val); \
86 void *ossl_sa_get(const OPENSSL_SA *sa, ossl_uintmax_t n);
87 int ossl_sa_set(OPENSSL_SA *sa, ossl_uintmax_t n, void *val);
A Dlms_util.h24 (a)->n != (b)->n || (strcmp((a)->digestname, (b)->digestname) != 0)
50 (uint32_t *)&lms_params->n); in lms_evp_md_ctx_init()
A Dasn1_dsa.h17 int ossl_encode_der_integer(WPACKET *pkt, const BIGNUM *n);
20 int ossl_decode_der_integer(PACKET *pkt, BIGNUM *n);
A Dsecurity_bits.h14 uint16_t ossl_ifc_ffc_compute_security_bits(int n);
A Dlms.h87 uint32_t n; /* Hash output size in bytes (32 or 24) */ member
118 uint32_t n; /* The Digest size (either 24 or 32), Useful for setting up SHAKE */ member
A Dbn.h89 int bn_lshift_fixed_top(BIGNUM *r, const BIGNUM *a, int n);
90 int bn_rshift_fixed_top(BIGNUM *r, const BIGNUM *a, int n);
93 int ossl_bn_mask_bits_fixed_top(BIGNUM *a, int n);
A Dsha.h21 unsigned char *ossl_sha1(const unsigned char *d, size_t n, unsigned char *md);
A Ddso_conf.h.in1 {- join("\n",map { "/* $_ */" } @autowarntext) -}
31 join("\n", map { "# define $_" } @macros); -}
/include/internal/
A Dsockets.h177 # define readsocket(s,b,n) recv((s),(b),(n),0) argument
178 # define writesocket(s,b,n) send((s),(b),(n),0) argument
181 # define readsocket(s,b,n) read_s(s,b,n) argument
182 # define writesocket(s,b,n) send(s,b,n,0) argument
186 # define readsocket(s,b,n) recv((s),(b),(n),0) argument
187 # define writesocket(s,b,n) send((s),(b),(n),0) argument
191 # define readsocket(s,b,n) read((s),(b),(n)) argument
194 # define readsocket(s,b,n) read((s),(b),(n)) argument
195 # define writesocket(s,b,n) write((s),(b),(n)) argument
201 # define readsocket(s,b,n) read((s),(b),(n)) argument
[all …]
A Dtsan_assist.h63 # define tsan_add(ptr, n) atomic_fetch_add_explicit((ptr), (n), memory_order_relaxed) argument
75 # define tsan_add(ptr, n) __atomic_fetch_add((ptr), (n), __ATOMIC_RELAXED) argument
118 # define tsan_add(ptr, n) (sizeof(*(ptr)) == 8 ? _InterlockedExchangeAdd64((void *)(ptr), (n)) \ argument
119 : _InterlockedExchangeAdd((void *)(ptr), (n)))
121 # define tsan_add(ptr, n) _InterlockedExchangeAdd((ptr), (n)) argument
141 # define tsan_add(ptr, n) (*(ptr) += (n)) argument
A Dto_hex.h14 static ossl_inline size_t to_hex(char *buf, uint8_t n, const char hexdig[17]) in to_hex() argument
16 *buf++ = hexdig[(n >> 4) & 0xf]; in to_hex()
17 *buf = hexdig[n & 0xf]; in to_hex()
21 static ossl_inline size_t ossl_to_lowerhex(char *buf, uint8_t n) in ossl_to_lowerhex() argument
25 return to_hex(buf, n, hexdig); in ossl_to_lowerhex()
A De_os.h130 # define EXIT(n) exit(n) argument
200 # define EXIT(n) exit((n) ? (((n) << 3) | 2 | 0x10000000 | 0x35a000) : 1) argument
214 # define EXIT(n) exit(n) argument
A Dcommon.h111 # define c2ln(c,l1,l2,n) { \ argument
112 c+=n; \
114 switch (n) { \
160 # define l2cn(l1,l2,c,n) { \ argument
161 c+=n; \
162 switch (n) { \
A Dpriority_queue.h39 ossl_pqueue_##type##_reserve(PRIORITY_QUEUE_OF(type) *pq, size_t n) \
41 return ossl_pqueue_reserve((OSSL_PQUEUE *)pq, n); \
80 int ossl_pqueue_reserve(OSSL_PQUEUE *pq, size_t n);
A Drefcount.h233 static ossl_unused ossl_inline int CRYPTO_NEW_REF(CRYPTO_REF_COUNT *refcnt, int n) in CRYPTO_NEW_REF() argument
235 refcnt->val = n; in CRYPTO_NEW_REF()
279 static ossl_unused ossl_inline int CRYPTO_NEW_REF(CRYPTO_REF_COUNT *refcnt, int n) in CRYPTO_NEW_REF() argument
281 refcnt->val = n; in CRYPTO_NEW_REF()
A Dparams.h40 int ossl_param_get1_concat_octet_string(size_t n, OSSL_PARAM *params[],
/include/openssl/
A Dconfiguration.h.in2 * {- join("\n * ", @autowarntext) -}
30 $OUT .= "# ifndef $_\n";
31 $OUT .= "# define $_ 1\n";
32 $OUT .= "# endif\n";
37 $OUT .= "# define $macro $value\n";
41 $OUT .= "# ifndef $_\n";
42 $OUT .= "# define $_\n";
43 $OUT .= "# endif\n";
A Dsha.h55 unsigned char *SHA1(const unsigned char *d, size_t n, unsigned char *md);
81 unsigned char *SHA224(const unsigned char *d, size_t n, unsigned char *md);
82 unsigned char *SHA256(const unsigned char *d, size_t n, unsigned char *md);
132 unsigned char *SHA384(const unsigned char *d, size_t n, unsigned char *md);
133 unsigned char *SHA512(const unsigned char *d, size_t n, unsigned char *md);
A Dbn.h76 void BN_set_flags(BIGNUM *b, int n);
77 int BN_get_flags(const BIGNUM *b, int n);
268 void BN_set_negative(BIGNUM *b, int n);
306 int BN_is_bit_set(const BIGNUM *a, int n);
307 int BN_lshift(BIGNUM *r, const BIGNUM *a, int n);
331 int BN_mask_bits(BIGNUM *a, int n);
337 int BN_rshift(BIGNUM *r, const BIGNUM *a, int n);
342 int BN_set_bit(BIGNUM *a, int n);
343 int BN_clear_bit(BIGNUM *a, int n);
428 int BN_BLINDING_convert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx);
[all …]
A Ddes.h67 # define DES_ede2_cfb64_encrypt(i,o,l,k1,k2,iv,n,e) \ argument
68 DES_ede3_cfb64_encrypt((i),(o),(l),(k1),(k2),(k1),(iv),(n),(e))
70 # define DES_ede2_ofb64_encrypt(i,o,l,k1,k2,iv,n) \ argument
71 DES_ede3_ofb64_encrypt((i),(o),(l),(k1),(k2),(k1),(iv),(n))
A Dobjects.h67 ASN1_OBJECT *OBJ_nid2obj(int n);
68 const char *OBJ_nid2ln(int n);
69 const char *OBJ_nid2sn(int n);
A Dstack.h37 OPENSSL_STACK *OPENSSL_sk_new_reserve(OPENSSL_sk_compfunc c, int n);
39 int OPENSSL_sk_reserve(OPENSSL_STACK *st, int n);
A Dmdc2.h46 OSSL_DEPRECATEDIN_3_0 unsigned char *MDC2(const unsigned char *d, size_t n,
A Dmd2.h48 OSSL_DEPRECATEDIN_3_0 unsigned char *MD2(const unsigned char *d, size_t n,

Completed in 27 milliseconds

123