/freebsd/crypto/openssl/doc/man3/ |
H A D | DEFINE_STACK_OF.pod | 21 - stack container 29 STACK_OF(TYPE) 30 DEFINE_STACK_OF(TYPE) 31 DEFINE_STACK_OF_CONST(TYPE) 32 DEFINE_SPECIAL_STACK_OF(FUNCTYPE, TYPE) 33 DEFINE_SPECIAL_STACK_OF_CONST(FUNCTYPE, TYPE) 35 typedef int (*sk_TYPE_compfunc)(const TYPE *const *a, const TYPE *const *b); 36 typedef TYPE * (*sk_TYPE_copyfun [all...] |
H A D | d2i_RSAPrivateKey.pod | 65 - DEPRECATED 72 hidden entirely by defining B<OPENSSL_API_COMPAT> with a suitable version value, 75 TYPE *d2i_TYPEPrivateKey(TYPE **a, const unsigned char **ppin, long length); 76 TYPE *d2i_TYPEPrivateKey_bio(BIO *bp, TYPE **a); 77 TYPE *d2i_TYPEPrivateKey_fp(FILE *fp, TYPE **a); 78 TYPE *d2i_TYPEPublicKey(TYPE **a, const unsigned char **ppin, long length); 79 TYPE *d2i_TYPEPublicKey_bio(BIO *bp, TYPE **a); 80 TYPE *d2i_TYPEPublicKey_fp(FILE *fp, TYPE **a); 81 TYPE *d2i_TYPEparams(TYPE **a, const unsigned char **ppin, long length); 82 TYPE *d2i_TYPEparams_bio(BIO *bp, TYPE **a); [all …]
|
H A D | OPENSSL_LH_COMPFUNC.pod | 17 - dynamic hash table 25 DECLARE_LHASH_OF(TYPE); 27 LHASH_OF(TYPE) *lh_TYPE_new(OPENSSL_LH_HASHFUNC hash, OPENSSL_LH_COMPFUNC compare); 28 void lh_TYPE_free(LHASH_OF(TYPE) *table); 29 void lh_TYPE_flush(LHASH_OF(TYPE) *table); 31 TYPE *lh_TYPE_insert(LHASH_OF(TYPE) *table, TYPE *data); 32 TYPE *lh_TYPE_delete(LHASH_OF(TYPE) *table, TYPE *data); 33 TYPE *lh_TYPE_retrieve(LHASH_OF(TYPE) *table, TYPE *data); 35 void lh_TYPE_doall(LHASH_OF(TYPE) *table, OPENSSL_LH_DOALL_FUNC func); 36 void lh_TYPE_doall_arg(LHASH_OF(TYPE) *table, OPENSSL_LH_DOALL_FUNCARG func, [all …]
|
H A D | UI_STRING.pod | 10 - User interface string parsing 41 The B<UI_STRING> gets created internally and added to a B<UI> whenever 47 For a B<UI_METHOD> user, there's no need to know more. 48 For a B<UI_METHOD> creator, it is of interest to fetch text from these 49 B<UI_STRING> objects as well as adding results to some of them. 51 UI_get_string_type() is used to retrieve the type of the given 52 B<UI_STRING>. 55 given B<UI_STRING>. 61 associated with a B<UIT_BOOLEAN> type B<UI_STRING>. 62 For all other B<UI_STRING> types, NULL is returned. [all …]
|
H A D | d2i_X509.pod | 357 - convert objects from/to ASN.1/DER representation 363 TYPE *d2i_TYPE(TYPE **a, const unsigned char **ppin, long length); 364 TYPE *d2i_TYPE_bio(BIO *bp, TYPE **a); 365 TYPE *d2i_TYPE_fp(FILE *fp, TYPE **a); 367 int i2d_TYPE(const TYPE *a, unsigned char **ppout); 368 int i2d_TYPE(TYPE *a, unsigned char **ppout); 369 int i2d_TYPE_fp(FILE *fp, const TYPE *a); 370 int i2d_TYPE_fp(FILE *fp, TYPE *a); 371 int i2d_TYPE_bio(BIO *bp, const TYPE *a); 372 int i2d_TYPE_bio(BIO *bp, TYPE *a); [all …]
|
H A D | X509_NAME_add_entry_by_txt.pod | 6 X509_NAME_add_entry, X509_NAME_delete_entry - X509_NAME modification functions 12 int X509_NAME_add_entry_by_txt(X509_NAME *name, const char *field, int type, 15 int X509_NAME_add_entry_by_OBJ(X509_NAME *name, const ASN1_OBJECT *obj, int type, 18 int X509_NAME_add_entry_by_NID(X509_NAME *name, int nid, int type, 29 by a string B<field>, an object B<obj> or a NID B<nid> respectively. 30 The field value to be added is in B<bytes> of length B<len>. If 31 B<len> is -1 then the field length is calculated internally using 34 The type of field is determined by B<type> which can either be a 35 definition of the type of B<bytes> (such as B<MBSTRING_ASC>) or a 36 standard ASN1 type (such as B<V_ASN1_IA5STRING>). The new entry is [all …]
|
H A D | ASN1_TYPE_get.pod | 5 …N1_TYPE_set1, ASN1_TYPE_cmp, ASN1_TYPE_unpack_sequence, ASN1_TYPE_pack_sequence - ASN1_TYPE utility 13 void ASN1_TYPE_set(ASN1_TYPE *a, int type, void *value); 14 int ASN1_TYPE_set1(ASN1_TYPE *a, int type, const void *value); 15 int ASN1_TYPE_cmp(const ASN1_TYPE *a, const ASN1_TYPE *b); 23 These functions allow an B<ASN1_TYPE> structure to be manipulated. The 24 B<ASN1_TYPE> structure can contain any ASN.1 type or constructed type 25 such as a SEQUENCE: it is effectively equivalent to the ASN.1 ANY type. 27 ASN1_TYPE_get() returns the type of I<a> or 0 if it fails. 29 ASN1_TYPE_set() sets the value of I<a> to I<type> and I<value>. This 30 function uses the pointer I<value> internally so it must B<not> be freed [all …]
|
H A D | SSL_CTX_use_certificate.pod | 16 - load certificate and key data 24 int SSL_CTX_use_certificate_file(SSL_CTX *ctx, const char *file, int type); 27 int SSL_use_certificate_file(SSL *ssl, const char *file, int type); 35 int SSL_CTX_use_PrivateKey_file(SSL_CTX *ctx, const char *file, int type); 38 int SSL_CTX_use_RSAPrivateKey_file(SSL_CTX *ctx, const char *file, int type); 41 int SSL_use_PrivateKey_file(SSL *ssl, const char *file, int type); 44 int SSL_use_RSAPrivateKey_file(SSL *ssl, const char *file, int type); 58 SSL_CTX object B<ctx>. The information is passed to SSL objects B<ssl> 59 created from B<ct [all...] |
H A D | X509_dup.pod | 304 - ASN1 object utilities 312 DECLARE_ASN1_FUNCTIONS(type) 318 TYPE *TYPE_new(void); 319 TYPE *TYPE_dup(const TYPE *a); 320 void TYPE_free(TYPE *a); 321 int TYPE_print_ctx(BIO *out, TYPE *a, int indent, const ASN1_PCTX *pctx); 324 hidden entirely by defining B<OPENSSL_API_COMPAT> with a suitable version value, 333 In the description below, B<I<TYPE>> is used 334 as a placeholder for any of the OpenSSL datatypes, such as B<X509>. 336 The OpenSSL ASN1 parsing library templates are like a data-driven bytecode [all …]
|
H A D | PEM_read_CMS.pod | 43 - PEM object encoding routines 51 DECLARE_PEM_rw(name, TYPE) 53 TYPE *PEM_read_TYPE(FILE *fp, TYPE **a, pem_password_cb *cb, void *u); 54 TYPE *PEM_read_bio_TYPE(BIO *bp, TYPE **a, pem_password_cb *cb, void *u); 55 int PEM_write_TYPE(FILE *fp, const TYPE *a); 56 int PEM_write_bio_TYPE(BIO *bp, const TYPE *a); 59 hidden entirely by defining B<OPENSSL_API_COMPAT> with a suitable version value, 91 In the description below, B<I<TYPE>> is used 92 as a placeholder for any of the OpenSSL datatypes, such as B<X509>. 93 The macro B<DECLARE_PEM_rw> expands to the set of declarations shown in [all …]
|
/freebsd/sys/contrib/ck/include/ |
H A D | ck_ring.h | 2 * Copyright 2009-2015 Samy Al Bahra. 42 char pad[CK_MD_CACHELINE - sizeof(unsigned int)]; 45 char _pad[CK_MD_CACHELINE - sizeof(unsigned int) * 2]; 61 c = ck_pr_load_uint(&ring->c_head); in ck_ring_size() 62 p = ck_pr_load_uint(&ring->p_tail); in ck_ring_size() 63 return (p - c) & ring->mask; in ck_ring_size() 70 return ring->size; in ck_ring_capacity() 75 * on the ring. This is primarily meant for persistent ck_ring use-cases. The 83 if (ring->p_tail != ring->p_head) { in ck_ring_repair() 84 ring->p_tail = ring->p_head; in ck_ring_repair() [all …]
|
/freebsd/contrib/bsnmp/lib/ |
H A D | asn1.c | 2 * Copyright (c) 2001-2003 55 * is restricted to a 32-bit value. 59 asn_get_header(struct asn_buf *b, u_char *type, asn_len_t *len) in asn_get_header() argument 63 if (b->asn_len == 0) { in asn_get_header() 64 asn_error(b, "no identifier for header"); in asn_get_header() 67 *type = *b->asn_cptr; in asn_get_header() 68 if ((*type & ASN_TYPE_MASK) > 0x1e) { in asn_get_header() 69 asn_error(b, "tags > 0x1e not supported (%#x)", in asn_get_header() 70 *type & ASN_TYPE_MASK); in asn_get_header() 73 b->asn_cptr++; in asn_get_header() [all …]
|
H A D | snmp.c | 2 * Copyright (c) 2001-2003 72 get_var_binding(struct asn_buf *b, struct snmp_value *binding) in get_var_binding() argument 74 u_char type; in get_var_binding() local 78 if (asn_get_sequence(b, &len) != ASN_ERR_OK) { in get_var_binding() 86 trailer = b->asn_len - len; in get_var_binding() 87 b->asn_len = len; in get_var_binding() 89 if (asn_get_objid(b, &binding->var) != ASN_ERR_OK) { in get_var_binding() 93 if (asn_get_header(b, &type, &len) != ASN_ERR_OK) { in get_var_binding() 98 switch (type) { in get_var_binding() 101 binding->syntax = SNMP_SYNTAX_NULL; in get_var_binding() [all …]
|
/freebsd/crypto/openssl/doc/internal/man3/ |
H A D | OPENSSL_SA.pod | 8 - sparse array container 16 SPARSE_ARRAY_OF(TYPE) 17 DEFINE_SPARSE_ARRAY_OF(TYPE) 19 SPARSE_ARRAY_OF(TYPE) *ossl_sa_TYPE_new(void); 20 void ossl_sa_TYPE_free(const SPARSE_ARRAY_OF(TYPE) *sa); 21 void ossl_sa_TYPE_free_leaves(const SPARSE_ARRAY_OF(TYPE) *sa); 22 size_t ossl_sa_TYPE_num(const SPARSE_ARRAY_OF(TYPE) *sa); 28 TYPE *ossl_sa_TYPE_get(const SPARSE_ARRAY_OF(TYPE) *sa, ossl_uintmax_t idx); 29 int ossl_sa_TYPE_set(SPARSE_ARRAY_OF(TYPE) *sa, ossl_uintmax_t idx, 30 TYPE *value); [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
H A D | SPIRVEmitIntrinsics.cpp | 1 //===-- SPIRVEmitIntrinsics.cpp - emit SPIRV intrinsics ---------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 // The pass emits SPIRV intrinsics keeping essential high-level information for 10 // the translation of LLVM IR to SPIR-V. 12 //===----------------------------------------------------------------------===// 29 // for the following translation to SPIR-V: 30 // - replaces direct usages of aggregate constants with target-specific 32 // - replaces aggregates-related instructions (extract/insert, ld/st, etc) 33 // with a target-specific intrinsics; [all …]
|
/freebsd/contrib/ntp/sntp/libopts/ |
H A D | intprops.h | 1 /* intprops.h -- properties of integer types 3 Copyright (C) 2001-2018 Free Software Foundation, Inc. 25 /* Return a value with the common real type of E and V and the value of V. */ 28 /* Act like _GL_INT_CONVERT (E, -V) but work around a bug in IRIX 6.5 cc; see 29 <https://lists.gnu.org/r/bug-gnulib/2011-05/msg00406.html>. */ 30 #define _GL_INT_NEGATE_CONVERT(e, v) (0 * (e) - (v)) 35 /* True if the arithmetic type T is an integer type. bool counts as 39 /* True if the real type T is signed. */ 40 #define TYPE_SIGNED(t) (! ((t) 0 < (t) -1)) 43 signed or floating type. */ [all …]
|
/freebsd/contrib/file/magic/Magdir/ |
H A D | sql | 2 #------------------------------------------------------------------------------ 9 # from https://bazaar.launchpad.net/~maria-captains/maria/5.5/view/head:/support-files/magic 13 >3 byte 0 \b, type UNKNOWN 14 >3 byte 1 \b, type DIAM_ISAM 15 >3 byte 2 \b, type HASH 16 >3 byte 3 \b, type MISAM 17 >3 byte 4 \b, type PISAM 18 >3 byte 5 \b, type RMS_ISAM 19 >3 byte 6 \b, type HEAP 20 >3 byte 7 \b, type ISAM [all …]
|
H A D | apple | 2 #------------------------------------------------------------------------------ 14 # Type: Apple Emulator A2R format 16 # Ref: https://applesaucefdc.com/a2r2-reference/ 28 >>49 byte 01 \b, 5.25″ SS 40trk 29 >>49 byte 02 \b, 3.5″ DS 80trk 30 >>49 byte 03 \b, 5.25″ DS 80trk 31 >>49 byte 04 \b, 5.25″ DS 40trk 32 >>49 byte 05 \b, 3.5″ DS 80trk 33 >>49 byte 06 \b, 8″ DS 34 >>50 byte 01 \b, write protected [all …]
|
/freebsd/contrib/ntp/sntp/libevent/test/ |
H A D | tinytest_macros.h | 1 /* tinytest_macros.h -- Copyright 2009-2012 Nick Mathewson 29 /* Helpers for defining statement-like macros */ 51 /* Announce a non-failure if we're verbose. */ 89 #define tt_want_(b, msg, fail) \ argument 91 if (!(b)) { \ 100 /* Assert b, but do not stop the test if b fails. Log msg on failure. */ 101 #define tt_want_msg(b, msg) \ argument 102 tt_want_(b, msg, ); 104 /* Assert b and stop the test if b fails. Log msg on failure. */ 105 #define tt_assert_msg(b, msg) \ argument [all …]
|
/freebsd/contrib/libevent/test/ |
H A D | tinytest_macros.h | 1 /* tinytest_macros.h -- Copyright 2009-2012 Nick Mathewson 29 /* Helpers for defining statement-like macros */ 51 /* Announce a non-failure if we're verbose. */ 89 #define tt_want_(b, msg, fail) \ argument 91 if (!(b)) { \ 100 /* Assert b, but do not stop the test if b fails. Log msg on failure. */ 101 #define tt_want_msg(b, msg) \ argument 102 tt_want_(b, msg, ); 104 /* Assert b and stop the test if b fails. Log msg on failure. */ 105 #define tt_assert_msg(b, msg) \ argument [all …]
|
/freebsd/crypto/openssl/doc/man7/ |
H A D | provider-object.pod | 5 provider-object - A specification for a provider-native object abstraction 16 The provider-native object abstraction is a set of L<OSSL_PARAM(3)> keys and 17 values that can be used to pass provider-native objects to OpenSSL library 21 The intention is that certain provider-native operations can pass any sort 37 B<must> be encoded in DER for all object types except for B<OSSL_OBJECT_NAME> 70 The exact target implementation to use is determined from the I<object type> 71 and possibly the I<object data type>. 73 I<object type> B<OSSL_OBJECT_PKEY>, it will fetch a L<provider-keymgmt(7)> 74 using the I<object data type> as its key type (the second argument in 92 A provider-native object abstraction is an L<OSSL_PARAM(3)> with a selection [all …]
|
/freebsd/crypto/openssl/doc/man1/ |
H A D | openssl-cms.pod.in | 2 {- OpenSSL::safe::output_do_not_edit_headers(); -} 6 openssl-cms - CMS command 10 B<openssl> B<cms> 11 [B<-help>] 15 [B<-in> I<filename>] 16 [B<-out> I<filename>] 17 {- $OpenSSL::safe::opt_config_synopsis -} 21 [B<-encrypt>] 22 [B<-decrypt>] 23 [B<-sign>] [all …]
|
/freebsd/contrib/sendmail/libsm/ |
H A D | io.html | 9 <br> $Id: io.html,v 1.3 2001-03-17 03:22:50 gshapiro Exp $ 25 <i>sm_io_open()</i>. Whichever set of functions are specified <b>all</b> 29 are identified as <b>file types</b> (see <tt>sm_io_open()</tt>). Each function 32 set. The setting of a function set for a file type can be done for 33 a file type at any time (even after the type is open). 36 A second difference is the use of <a href="rpool.html"><b>rpools</b></a>. 37 An <b>rpool</b> is specified with the opening of a file 63 When a file is going to be opened, the file type is included with 65 A file type is either one automatically included with the <i>sm_io</i> 68 is either the builtin <i>sm_io</i> buffering or as done by the file type. [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
H A D | BuildLibCalls.h | 1 //===- BuildLibCalls.h - Utility builder for libcalls -----------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 12 //===----------------------------------------------------------------------===// 45 Type *RetTy, ArgsTy... Args) { in getOrInsertLibFunc() 46 SmallVector<Type*, sizeof...(ArgsTy)> ArgTys{Args...}; in getOrInsertLibFunc() 54 LibFunc TheLibFunc, Type *RetTy, ArgsTy... Args) { in getOrInsertLibFunc() 65 // Handle -mregparm for the given function. 68 // function signatures, including sign/zero-extension for arguments and return 73 /// it in the current Module is a Function with the right type. [all …]
|
/freebsd/tests/sys/net/if_ovpn/ |
H A D | if_ovpn.sh | 2 # SPDX-License-Identifier: BSD-2-Clause 46 vnet_mkjail b ${l}b 47 jexec b ifconfig ${l}b 192.0.2.2/24 up 50 atf_check -s exit:0 -o ignore jexec a ping -c 1 192.0.2.2 54 dev-type tun 57 cipher AES-256-GCM 68 script-security 2 69 auth-user-pass-verify /usr/bin/true via-env 74 ovpn_start b " 76 dev-type tun [all …]
|