| /netbsd-src/sys/dev/ieee1394/ |
| H A D | sbp.c | 2 /*- 4 * Copyright (c) 1998-2002 Katsushi Kobayashi and Hidetoshi Shimokawa 26 * DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, 73 #define SBP_FWDEV_ALIVE(fwdev) (((fwdev)->status == FWDEVATTACHED) \ 74 && crom_has_specver((fwdev)->csrrom, CSRVAL_ANSIT10, CSRVAL_T10SBP2)) 81 #define SBP_QUEUE_LEN ((SBP_DMA_SIZE - SBP_LOGIN_SIZE) / sizeof(struct sbp_ocb)) 87 * ----------------------- 88 * 0- 1( 2): 0 (alignment) 89 * 2- 9( 8): lun 90 * 10-31(14): unit [all …]
|
| /netbsd-src/crypto/external/bsd/openssl/dist/providers/implementations/ciphers/ |
| H A D | cipher_aes_ocb.c | 2 * Copyright 2019-2021 The OpenSSL Project Authors. All Rights Reserved. 54 return (CRYPTO_ocb128_setiv(&ctx->ocb, iv, ivlen, taglen) == 1); in aes_generic_ocb_setiv() 61 return CRYPTO_ocb128_aad(&ctx->ocb, aad, alen) == 1; in aes_generic_ocb_setaad() 67 return CRYPTO_ocb128_tag(&ctx->ocb, tag, tlen) > 0; in aes_generic_ocb_gettag() 72 return (CRYPTO_ocb128_finish(&ctx->ocb, ctx->tag, ctx->taglen) == 0); in aes_generic_ocb_final() 77 CRYPTO_ocb128_cleanup(&ctx->ocb); in aes_generic_ocb_cleanup() 84 if (ctx->base.enc) { in aes_generic_ocb_cipher() 85 if (!CRYPTO_ocb128_encrypt(&ctx->ocb, in, out, len)) in aes_generic_ocb_cipher() 88 if (!CRYPTO_ocb128_decrypt(&ctx->ocb, in, out, len)) in aes_generic_ocb_cipher() 97 return CRYPTO_ocb128_copy_ctx(&dst->ocb, &src->ocb, in aes_generic_ocb_copy_ctx() [all …]
|
| /netbsd-src/crypto/external/bsd/openssl.old/lib/libcrypto/man/ |
| H A D | EVP_EncryptInit.3 | 20 .\" Set up some character translations and predefined strings. \*(-- will 26 .tr \(*W- 29 . ds -- \(*W- 31 . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch 32 . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch 39 . ds -- \|\(em\| 75 .\" Fear. Run. Save yourself. No user-serviceable parts. 85 . ds #H ((1u-(\\\\n(.fu%2u))*.13m) 101 . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" 102 . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' [all …]
|
| H A D | PKCS12_create.3 | 20 .\" Set up some character translations and predefined strings. \*(-- will 26 .tr \(*W- 29 . ds -- \(*W- 31 . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch 32 . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch 39 . ds -- \|\(em\| 75 .\" Fear. Run. Save yourself. No user-serviceable parts. 85 . ds #H ((1u-(\\\\n(.fu%2u))*.13m) 101 . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" 102 . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' [all …]
|
| H A D | EVP_aes.3 | 20 .\" Set up some character translations and predefined strings. \*(-- will 26 .tr \(*W- 29 . ds -- \(*W- 31 . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch 32 . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch 39 . ds -- \|\(em\| 75 .\" Fear. Run. Save yourself. No user-serviceable parts. 85 . ds #H ((1u-(\\\\n(.fu%2u))*.13m) 101 . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" 102 . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' [all …]
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/doc/man3/ |
| H A D | EVP_EncryptInit.pod | 49 - EVP cipher routines 123 The EVP cipher routines are a high-level interface to certain 151 from zero bytes to (inl + cipher_block_size - 1) bytes. 167 this function is called the encryption operation is finished and no further 186 to 1 for encryption, 0 for decryption and -1 to leave the value unchanged 202 the B<ctx>, but this is no longer done and EVP_CIPHER_CTX_clean() 219 decrypting. If the B<pad> parameter is zero then no padding is 319 OBJECT IDENTIFIER or NID_undef if it has no defined OBJECT IDENTIFIER. 358 =head2 GCM and OCB Modes 360 The following I<ctrl>s are supported in GCM and OCB modes. [all …]
|
| H A D | PKCS12_create.pod | 5 PKCS12_create - create a PKCS#12 structure 26 GCM, CCM, XTS, and OCB are unsupported. B<iter> is the encryption algorithm 55 Either B<pkey>, B<cert> or both can be B<NULL> to indicate that no key or 59 B<nid_key> or B<nid_cert> can be set to -1 indicating that no encryption 62 B<mac_iter> can be set to -1 and the MAC will then be omitted entirely. 66 See L<passphrase-encoding(7)> for more information. 75 L<passphrase-encoding(7)> 79 Copyright 2002-2018 The OpenSSL Project Authors. All Rights Reserved.
|
| /netbsd-src/games/gomoku/ |
| H A D | pickmove.c | 25 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 95 for (spot_index s = PT(BSZ, BSZ) + 1; s-- > PT(1, 1); ) { in pickmove() 97 sp->s_combo[BLACK].s = 0x601; in pickmove() 98 sp->s_combo[WHITE].s = 0x601; in pickmove() 99 sp->s_level[BLACK] = 255; in pickmove() 100 sp->s_level[WHITE] = 255; in pickmove() 101 sp->s_nforce[BLACK] = 0; in pickmove() 102 sp->s_nforce[WHITE] = 0; in pickmove() 103 sp->s_flags &= ~(FFLAGALL | MFLAGALL); in pickmove() 124 for (spot_index s = PT(BSZ, BSZ); s-- > PT(1, 1); ) { in pickmove() [all …]
|
| /netbsd-src/crypto/external/bsd/openssl/dist/crypto/evp/ |
| H A D | e_aes.c | 2 * Copyright 2001-2024 The OpenSSL Project Authors. All Rights Reserved. 12 * non-internal use) in order to implement the EVP AES ciphers. 56 int iv_gen_rand; /* No IV was specified, so generate a rand IV */ 107 OCB128_CONTEXT ocb; member 119 #define MAXBITCHUNK ((size_t)1<<(sizeof(size_t)*8-4)) 121 /* increment counter (64-bit int) by 1 */ 128 --n; in ctr64_inc() 139 # define AES_GCM_ASM2(gctx) (gctx->gcm.block==(block128_f)aesni_encrypt && \ 140 gctx->gcm.ghash==gcm_ghash_avx) 155 &dat->ks.ks); in aesni_init_key() [all …]
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/evp/ |
| H A D | e_aes.c | 2 * Copyright 2001-2021 The OpenSSL Project Authors. All Rights Reserved. 89 OCB128_CONTEXT ocb; member 101 #define MAXBITCHUNK ((size_t)1<<(sizeof(size_t)*8-4)) 147 /* increment counter (64-bit int) by 1 */ 154 --n; in ctr64_inc() 188 # define VPAES_CAPABLE (OPENSSL_ia32cap_P[1]&(1<<(41-32))) 191 # define BSAES_CAPABLE (OPENSSL_ia32cap_P[1]&(1<<(41-32))) 194 * AES-NI section 196 # define AESNI_CAPABLE (OPENSSL_ia32cap_P[1]&(1<<(57-32))) 260 # define AES_GCM_ASM(gctx) (gctx->ctr==aesni_ctr32_encrypt_blocks && \ [all …]
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/ |
| H A D | appveyor.yml | 2 - Visual Studio 2017 5 - x64 6 - x86 11 - VSVER: 15 14 - shared 15 - plain 16 - minimal 19 - ps: >- 20 Install-Module VSSetup -Scope CurrentUser 21 - ps: >- [all …]
|
| H A D | NEWS | 10 o Fixed X.400 address type confusion in X.509 GeneralName (CVE-2023-0286) 11 o Fixed Use-after-free following BIO_new_NDEF (CVE-2023-0215) 12 o Fixed Double free after calling PEM_read_bio_ex (CVE-2022-4450) 13 o Fixed Timing Oracle in RSA Decryption (CVE-2022-4304) 27 o Fixed AES OCB failure to encrypt some bytes on 32-bit x86 platforms 28 (CVE-2022-2097) 34 (CVE-2022-2068) 39 shell metacharacters to prevent command injection (CVE-2022-1292) 44 forever for non-prime moduli (CVE-2022-0778) 52 o Fixed an SM2 Decryption Buffer Overflow (CVE-2021-3711) [all …]
|
| H A D | INSTALL | 2 -------------------- 28 --------------------------------------- 46 - or - 48 - or - 76 ----------- 96 $ perl Configure { VC-WIN32 | VC-WIN64A | VC-WIN64I | VC-CE } 114 engines. If you already have a pre-installed version of OpenSSL as part of 119 --prefix and --openssldir are explained further down, and the values shown 124 $ ./config --prefix=/opt/openssl --openssldir=/usr/local/ssl 128 $ @config --prefix=PROGRAM:[INSTALLS] --openssldir=SYS$MANAGER:[OPENSSL] [all …]
|
| /netbsd-src/crypto/external/bsd/openssl/dist/doc/man3/ |
| H A D | PKCS12_create.pod | 5 PKCS12_create, PKCS12_create_ex - create a PKCS#12 structure 30 GCM, CCM, XTS, and OCB are unsupported. I<iter> is the encryption algorithm 43 AES-256-CBC) for private keys and certificates, the PBKDF2 and MAC key 45 MAC algorithm HMAC with SHA2-256. The MAC key derivation algorithm used 70 Either I<pkey>, I<cert> or both can be B<NULL> to indicate that no key or 74 I<nid_key> or I<nid_cert> can be set to -1 indicating that no encryption 77 I<mac_iter> can be set to -1 and the MAC will then be omitted entirely. 83 See L<passphrase-encoding(7)> for more information. 95 L<EVP_KDF-PKCS12KDF(7)>, 97 L<OSSL_PROVIDER-FIPS(7)>, [all …]
|
| /netbsd-src/crypto/external/bsd/openssl/dist/crypto/objects/ |
| H A D | objects.txt | 1 # CCITT was renamed to ITU-T quite some time ago 2 0 : ITU-T : itu-t 3 !Alias ccitt itu-t 7 2 : JOINT-ISO-ITU-T : joint-iso-itu-t 8 !Alias joint-iso-ccitt joint-iso-itu-t 10 iso 2 : member-body : ISO Member Body 12 iso 3 : identified-organization 18 identified-organization 6 1 5 5 8 1 1 : HMAC-MD5 : hmac-md5 19 identified-organization 6 1 5 5 8 1 2 : HMAC-SHA1 : hmac-sha1 22 identified-organization 36 8 3 3 : x509ExtAdmission : Professional Information or basis for Admissi… [all …]
|
| H A D | obj_dat.h | 5 * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved. 1129 {"RSA-MD2", "md2WithRSAEncryption", NID_md2WithRSAEncryption, 9, &so[46]}, 1130 {"RSA-MD5", "md5WithRSAEncryption", NID_md5WithRSAEncryption, 9, &so[55]}, 1131 {"PBE-MD2-DES", "pbeWithMD2AndDES-CBC", NID_pbeWithMD2AndDES_CBC, 9, &so[64]}, 1132 {"PBE-MD5-DES", "pbeWithMD5AndDES-CBC", NID_pbeWithMD5AndDES_CBC, 9, &so[73]}, 1143 {"pkcs7-data", "pkcs7-data", NID_pkcs7_data, 9, &so[115]}, 1144 {"pkcs7-signedData", "pkcs7-signedData", NID_pkcs7_signed, 9, &so[124]}, 1145 {"pkcs7-envelopedData", "pkcs7-envelopedData", NID_pkcs7_enveloped, 9, &so[133]}, 1146 …{"pkcs7-signedAndEnvelopedData", "pkcs7-signedAndEnvelopedData", NID_pkcs7_signedAndEnveloped, 9, … 1147 {"pkcs7-digestData", "pkcs7-digestData", NID_pkcs7_digest, 9, &so[151]}, [all …]
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/objects/ |
| H A D | objects.txt | 1 # CCITT was renamed to ITU-T quite some time ago 2 0 : ITU-T : itu-t 3 !Alias ccitt itu-t 7 2 : JOINT-ISO-ITU-T : joint-iso-itu-t 8 !Alias joint-iso-ccitt joint-iso-itu-t 10 iso 2 : member-body : ISO Member Body 12 iso 3 : identified-organization 15 identified-organization 6 1 5 5 8 1 1 : HMAC-MD5 : hmac-md5 16 identified-organization 6 1 5 5 8 1 2 : HMAC-SHA1 : hmac-sha1 19 identified-organization 36 8 3 3 : x509ExtAdmission : Professional Information or basis for Admissi… [all …]
|
| H A D | obj_dat.h | 5 * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved. 1090 {"RSA-MD2", "md2WithRSAEncryption", NID_md2WithRSAEncryption, 9, &so[46]}, 1091 {"RSA-MD5", "md5WithRSAEncryption", NID_md5WithRSAEncryption, 9, &so[55]}, 1092 {"PBE-MD2-DES", "pbeWithMD2AndDES-CBC", NID_pbeWithMD2AndDES_CBC, 9, &so[64]}, 1093 {"PBE-MD5-DES", "pbeWithMD5AndDES-CBC", NID_pbeWithMD5AndDES_CBC, 9, &so[73]}, 1104 {"pkcs7-data", "pkcs7-data", NID_pkcs7_data, 9, &so[115]}, 1105 {"pkcs7-signedData", "pkcs7-signedData", NID_pkcs7_signed, 9, &so[124]}, 1106 {"pkcs7-envelopedData", "pkcs7-envelopedData", NID_pkcs7_enveloped, 9, &so[133]}, 1107 …{"pkcs7-signedAndEnvelopedData", "pkcs7-signedAndEnvelopedData", NID_pkcs7_signedAndEnveloped, 9, … 1108 {"pkcs7-digestData", "pkcs7-digestData", NID_pkcs7_digest, 9, &so[151]}, [all …]
|
| /netbsd-src/crypto/external/bsd/openssl/lib/libcrypto/man/ |
| H A D | EVP_aes.3 | 20 .\" Set up some character translations and predefined strings. \*(-- will 26 .tr \(*W- 29 . ds -- \(*W- 31 . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch 32 . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch 39 . ds -- \|\(em\| 75 .\" Fear. Run. Save yourself. No user-serviceable parts. 85 . ds #H ((1u-(\\\\n(.fu%2u))*.13m) 101 . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" 102 . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' [all …]
|
| /netbsd-src/sys/net80211/ |
| H A D | ieee80211_var.h | 2 /*- 4 * Copyright (c) 2002-2005 Sam Leffler, Errno Consulting 25 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 52 #error "No support for your operating system!" 81 #define IEEE80211_FIXED_RATE_NONE -1 130 enum ieee80211_phytype ic_phytype; /* XXX wrong for multi-mode */ 141 u_int8_t *ic_tim_bitmap; /* power-save stations w/ data*/ 168 u_int16_t ic_nonerpsta; /* # non-ERP stations */ 176 void *ic_opt_ie; /* user-specified IE's */ 264 #define IEEE80211_C_AES 0x00000004 /* CAPABILITY: AES OCB avail */ [all …]
|
| /netbsd-src/crypto/external/bsd/openssl/dist/include/openssl/ |
| H A D | obj_mac.h | 5 * Copyright 2000-2021 The OpenSSL Project Authors. All Rights Reserved. 21 #define SN_itu_t "ITU-T" 22 #define LN_itu_t "itu-t" 34 #define SN_joint_iso_itu_t "JOINT-ISO-ITU-T" 35 #define LN_joint_iso_itu_t "joint-iso-itu-t" 42 #define SN_member_body "member-body" 47 #define SN_identified_organization "identified-organization" 56 #define SN_hmac_md5 "HMAC-MD5" 57 #define LN_hmac_md5 "hmac-md5" 61 #define SN_hmac_sha1 "HMAC-SHA1" [all …]
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/include/openssl/ |
| H A D | obj_mac.h | 5 * Copyright 2000-2022 The OpenSSL Project Authors. All Rights Reserved. 17 #define SN_itu_t "ITU-T" 18 #define LN_itu_t "itu-t" 30 #define SN_joint_iso_itu_t "JOINT-ISO-ITU-T" 31 #define LN_joint_iso_itu_t "joint-iso-itu-t" 38 #define SN_member_body "member-body" 43 #define SN_identified_organization "identified-organization" 47 #define SN_hmac_md5 "HMAC-MD5" 48 #define LN_hmac_md5 "hmac-md5" 52 #define SN_hmac_sha1 "HMAC-SHA1" [all …]
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/apps/ |
| H A D | openssl.c | 2 * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved. 42 #define EXIT_THE_PROGRAM (-1) 48 * macro-generated wrapper functions. 67 for (f = functions; f->name != NULL; ++f) in calculate_columns() 68 if (f->type == FT_general || f->type == FT_md || f->type == FT_cipher) in calculate_columns() 69 if ((len = strlen(f->name)) > maxlen) in calculate_columns() 72 dc->width = maxlen + 2; in calculate_columns() 73 dc->columns = (80 - 1) / dc->width; in calculate_columns() 82 /* Set non-default library initialisation settings */ in apps_startup() 142 * Replace argv[] with UTF-8 encoded strings. in main() [all …]
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/modes/ |
| H A D | ocb128.c | 2 * Copyright 2014-2018 The OpenSSL Project Authors. All Rights Reserved. 25 * We do a right-to-left simple sequential search. This is surprisingly in ocb_ntz() 27 * e.g. the number of possible inputs with no trailing zeros is equal to in ocb_ntz() 48 for (i = 15; i >= 0; i--) { in ocb_block_lshift() 49 carry_next = in[i] >> (8 - shift); in ocb_block_lshift() 56 * Perform a "double" operation as per OCB spec 64 * efficient ways to do this - but this way is constant time in ocb_double() 66 mask = in->c[0] & 0x80; in ocb_double() 68 mask = (0 - mask) & 0x87; in ocb_double() 70 ocb_block_lshift(in->c, 1, out->c); in ocb_double() [all …]
|
| /netbsd-src/crypto/external/bsd/openssl/dist/crypto/modes/ |
| H A D | ocb128.c | 2 * Copyright 2014-2020 The OpenSSL Project Authors. All Rights Reserved. 25 * We do a right-to-left simple sequential search. This is surprisingly in ocb_ntz() 27 * e.g. the number of possible inputs with no trailing zeros is equal to in ocb_ntz() 48 for (i = 15; i >= 0; i--) { in ocb_block_lshift() 49 carry_next = in[i] >> (8 - shift); in ocb_block_lshift() 56 * Perform a "double" operation as per OCB spec 64 * efficient ways to do this - but this way is constant time in ocb_double() 66 mask = in->c[0] & 0x80; in ocb_double() 68 mask = (0 - mask) & 0x87; in ocb_double() 70 ocb_block_lshift(in->c, 1, out->c); in ocb_double() [all …]
|