/freebsd/crypto/krb5/src/tests/asn.1/ |
H A D | otp.asn1 | 9 FROM KerberosV5Spec2 {iso(1) identified-organization(3) 10 dod(6) internet(1) security(5) 12 -- as defined in RFC 4120. 14 FROM PKIX1Explicit88 { iso (1) identified-organization (3) 15 dod (6) internet (1) 17 id-mod (0) id-pkix1-explicit (18) }; 18 -- As defined in RFC 5280. 20 PA-OTP-CHALLENGE ::= SEQUENCE { 22 otp-service [1] UTF8String OPTIONAL, 23 otp-tokenInfo [2] SEQUENCE (SIZE(1..MAX)) OF [all …]
|
H A D | make-vectors.c | 1 /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ 2 /* tests/asn.1/make-vectors.c - Generate ASN.1 test vectors using asn1c */ 29 * test programs which exercise the krb5 ASN.1 encoder and decoder functions. 30 * It is intended to be used via "make test-vectors". Currently, test vectors 31 * are only generated for a subset of newer ASN.1 objects. 38 #include <OTP-TOKENINFO.h> 39 #include <PA-OTP-CHALLENGE.h> 40 #include <PA-OTP-REQUEST.h> 41 #include <PA-OTP-ENC-REQUEST.h> 42 #include <AD-CAMMAC.h> [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/nvmem/ |
H A D | rockchip,otp.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/nvmem/rockchip,otp.yaml# 5 $schema: http://devicetree.org/meta-schema [all...] |
H A D | rockchip-otp.txt | 1 Rockchip internal OTP (One Time Programmable) memory device tree bindings 4 - compatible: Should be one of the following. 5 - "rockchip,px30-otp" - for PX30 SoCs. 6 - "rockchip,rk3308-otp" - for RK3308 SoCs. 7 - reg: Should contain the registers location and size 8 - clocks: Must contain an entry for each entry in clock-names. 9 - clock-names: Should be "otp", "apb_pclk" and "phy". 10 - resets: Must contain an entry for each entry in reset-names. 12 - reset-names: Should be "phy". 17 otp: otp@ff290000 { [all …]
|
H A D | lpc1850-otp.txt | 1 * NXP LPC18xx OTP memory 3 Internal OTP (One Time Programmable) memory for NXP LPC18xx/43xx devices. 6 - compatible: Should be "nxp,lpc1850-otp" 7 - reg: Must contain an entry with the physical base address and length 8 for each entry in reg-names. 9 - address-cells: must be set to 1. 10 - size-cells: must be set to 1. 15 otp: otp@40045000 { 16 compatible = "nxp,lpc1850-otp"; 18 #address-cells = <1>; [all …]
|
H A D | nintendo-otp.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/nvmem/nintendo-otp.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Nintendo Wii and Wii U OTP 10 This binding represents the OTP memory as found on a Nintendo Wii or Wii U, 11 which contains common and per-console keys, signatures and related data 14 See https://wiiubrew.org/wiki/Hardware/OTP 17 - Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> 20 - $ref: nvmem.yaml# [all …]
|
H A D | st,stm32-romem.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/nvmem/st,stm32-romem.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: STMicroelectronics STM32 Factory-programmed data 10 This represents STM32 Factory-programmed read only non-volatile area: locked 11 flash, OTP, read-only HW regs... This contains various information such as: 16 - Fabrice Gasnier <fabrice.gasnier@foss.st.com> 19 - $ref: nvmem.yaml# 20 - $ref: nvmem-deprecated-cells.yaml# [all …]
|
/freebsd/sys/contrib/dev/iwlwifi/ |
H A D | iwl-eeprom-read.c |
|
H A D | iwl-agn-hw.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2005-2014 Intel Corporation 6 * Please use this file (iwl-agn-hw.h) only for hardware-related definitions. 18 #define IWLAGN_RTC_INST_SIZE (IWLAGN_RTC_INST_UPPER_BOUND - \ 20 #define IWLAGN_RTC_DATA_SIZE (IWLAGN_RTC_DATA_UPPER_BOUND - \ 28 (IWL60_RTC_INST_UPPER_BOUND - IWL60_RTC_INST_LOWER_BOUND) 30 (IWL60_RTC_DATA_UPPER_BOUND - IWL60_RTC_DATA_LOWER_BOUND) 42 #define IWLAGN_TX_POWER_TARGET_POWER_MIN (0) /* 0 dBm: 1 milliwatt */ 51 #define OTP_MAX_LL_ITEMS_1000 (3) /* OTP blocks for 1000 */ 52 #define OTP_MAX_LL_ITEMS_6x00 (4) /* OTP blocks for 6x00 */ [all …]
|
/freebsd/contrib/wpa/src/eap_peer/ |
H A D | eap_otp.c | 2 * EAP peer method: EAP-OTP (RFC 3748) 3 * Copyright (c) 2004-2006, Jouni Malinen <j@w1.fi> 17 /* No need for private data. However, must return non-NULL to indicate in eap_otp_init() 19 return (void *) 1; in eap_otp_init() 35 int otp; in eap_otp_process() local 39 ret->ignore = true; in eap_otp_process() 42 wpa_hexdump_ascii(MSG_MSGDUMP, "EAP-OTP: Request message", in eap_otp_process() 47 otp = 1; in eap_otp_process() 50 otp = 0; in eap_otp_process() 54 wpa_printf(MSG_INFO, "EAP-OTP: Password not configured"); in eap_otp_process() [all …]
|
H A D | eap_gtc.c | 2 * EAP peer method: EAP-GTC (RFC 3748) 3 * Copyright (c) 2004-2006, Jouni Malinen <j@w1.fi> 27 if (sm->m && sm->m->vendor == EAP_VENDOR_IETF && in eap_gtc_init() 28 sm->m->method == EAP_TYPE_FAST) { in eap_gtc_init() 29 wpa_printf(MSG_DEBUG, "EAP-GTC: EAP-FAST tunnel - use prefix " in eap_gtc_init() 31 data->prefix = 1; in eap_gtc_init() 52 int otp; in eap_gtc_process() local 57 ret->ignore = true; in eap_gtc_process() 62 wpa_hexdump_ascii(MSG_MSGDUMP, "EAP-GTC: Request message", pos, len); in eap_gtc_process() 63 if (data->prefix && in eap_gtc_process() [all …]
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7615/ |
H A D | eeprom.c | 1 // SPDX-License-Identifier: ISC 28 return -ETIMEDOUT; in mt7615_efuse_read() 53 if (is_mt7663(&dev->mt76)) in mt7615_efuse_init() 60 dev->mt76.otp.data = devm_kzalloc(dev->mt76.dev, len, GFP_KERNEL); in mt7615_efuse_init() 61 dev->mt76.otp.size = len; in mt7615_efuse_init() 62 if (!dev->mt76.otp.data) in mt7615_efuse_init() 63 return -ENOMEM; in mt7615_efuse_init() 65 buf = dev->mt76.otp.data; in mt7615_efuse_init() 87 ret = mt76_eeprom_init(&dev->mt76, MT7615_EEPROM_FULL_SIZE); in mt7615_eeprom_load() 96 u16 val = get_unaligned_le16(dev->eeprom.data); in mt7615_check_eeprom() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/mtd/ |
H A D | mtd.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Miquel Raynal <miquel.raynal@bootlin.com> 11 - Richard Weinberger <richard@nod.at> 21 User-defined MTD device name. Can be used to assign user friendly 26 '#address-cells': 29 '#size-cells': 36 - compatible 39 "@[0-9a-f]+$": [all …]
|
/freebsd/sys/dev/nmdm/ |
H A D | nmdm.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 10 * 1. Redistributions of source code must retain the above copyright 35 * Pseudo-nulmodem driver 107 struct tty *otp; in nmdm_close() local 110 onp = np->np_other; in nmdm_close() 111 otp = onp->np_tty; in nmdm_close() 114 if (tty_opened(otp)) in nmdm_close() 122 onp = np->np_other; in nmdm_close() 125 otp = onp->np_tty; in nmdm_close() [all …]
|
/freebsd/crypto/krb5/src/plugins/preauth/otp/ |
H A D | main.c | 1 /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ 2 /* plugins/preauth/otp/main.c - OTP kdcpreauth module definition */ 10 * 1. Redistributions of source code must retain the above copyright 31 #include "k5-int.h" 32 #include "k5-json.h" 61 retval = alloc_data(&plaintext, req->enc_data.ciphertext.length); in decrypt_encdata() 66 NULL, &req->enc_data, &plaintext); in decrypt_encdata() 68 com_err("otp", retval, "Unable to decrypt encData in PA-OTP-REQUEST"); in decrypt_encdata() 85 if (armor_key == NULL || nonce->data == NULL) { in nonce_verify() 90 /* Decode the PA-OTP-ENC-REQUEST structure. */ in nonce_verify() [all …]
|
H A D | otp_state.c | 1 /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ 2 /* plugins/preauth/otp/otp_state.c - Verify OTP token values using RADIUS */ 9 * 1. Redistributions of source code must retain the above copyright 33 #include <k5-json.h> 95 com_err("otp", retval, "Unable to resolve secret file '%s'", filename); in read_secret_file() 102 com_err("otp", retval, "Unable to open secret file '%s'", filename); in read_secret_file() 110 com_err("otp", retval, "Unable to read secret file '%s'", filename); in read_secret_file() 119 for (j = strlen(buf); j > i; j--) { in read_secret_file() 120 if (!isspace(buf[j - 1])) in read_secret_file() 124 *secret = k5memdup0(&buf[i], j - i, &retval); in read_secret_file() [all …]
|
/freebsd/crypto/krb5/src/tests/ |
H A D | t_otp.py | 25 # This script tests OTP, both UDP and Unix Sockets, with a variety of 28 # test how OTP handles the case of short daemon restarts. 39 skip_rest('OTP tests', 'Python pyrad module not found') 43 skip_rest('OTP tests', 'Python version 2.6 required') 48 ATTRIBUTE User-Name 1 string 49 ATTRIBUTE User-Password 2 octets 50 ATTRIBUTE Service-Type 6 integer 51 ATTRIBUTE NAS-Identifier 32 string 66 secrfile = self._args[1] 86 if key == 'User-Password': [all …]
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7603/ |
H A D | eeprom.c | 1 // SPDX-License-Identifier: ISC 21 return -ETIMEDOUT; in mt7603_efuse_read() 51 dev->mt76.otp.data = devm_kzalloc(dev->mt76.dev, len, GFP_KERNEL); in mt7603_efuse_init() 52 dev->mt76.otp.size = len; in mt7603_efuse_init() 53 if (!dev->mt76.otp.data) in mt7603_efuse_init() 54 return -ENOMEM; in mt7603_efuse_init() 56 buf = dev->mt76.otp.data; in mt7603_efuse_init() 100 MT_EE_TX_POWER_0_START_2G + 1, in mt7603_apply_cal_free_data() 102 MT_EE_TX_POWER_1_START_2G + 1, in mt7603_apply_cal_free_data() 104 struct device_node *np = dev->mt76.dev->of_node; in mt7603_apply_cal_free_data() [all …]
|
/freebsd/sys/dev/bhnd/cores/chipc/ |
H A D | chipcvar.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2015-2016 Landon Fuller <landon@landonf.org> 14 * 1. Redistributions of source code must retain the above copyright 63 * ChipCommon-controlled SPROM/OTP is supported, along with the 66 CHIPC_QUIRK_SUPPORTS_SPROM = (1<<1), 72 CHIPC_QUIRK_4706_NFLASH = (1<<2), 78 CHIPC_QUIRK_MUX_SPROM = (1<<3), 86 CHIPC_QUIRK_4331_EXTPA_MUX_SPROM = (1<<4) | 99 CHIPC_QUIRK_4331_GPIO2_5_MUX_SPROM = (1<<5) | [all …]
|
H A D | chipcreg.h | 1 /*- 2 * SPDX-License-Identifier: ISC 4 * Copyright (c) 2015-2016 Landon Fuller <landon@landonf.org> 5 * Copyright (c) 2010-2015 Broadcom Corporation 10 * distributed with the Asus RT-N16 firmware source code release. 30 #define CHIPC_HWREV_HAS_CORECTRL(hwrev) ((hwrev) >= 1) 52 #define CHIPC_CORECTRL 0x08 /* rev >= 1 */ 55 #define CHIPC_OTPST 0x10 /**< otp status */ 56 #define CHIPC_OTPCTRL 0x14 /**< otp control */ 58 #define CHIPC_OTPLAYOUT 0x1C /**< otp layout (IPX OTP) */ [all …]
|
/freebsd/crypto/heimdal/appl/ftp/ftpd/ |
H A D | ftpd.8 | 9 .\" 1. Redistributions of source code must retain the above copyright 50 .Op Fl Fl gss-bindings 51 .Op Fl I | Fl Fl no-insecure-oob 53 .Op Fl B | Fl Fl builtin-ls 54 .Op Fl Fl good-chars= Ns Ar string 68 .Bl -tag -width Ds 76 .Bl -tag -width plain 78 Allow logging in with plaintext password. The password can be a(n) OTP 80 .It Ar otp 83 but only OTP is allowed. [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/regulator/ |
H A D | palmas-pmic.txt | 3 The tps659038 for the AM57x class have OTP spins that 5 is not a need to add the OTP spins to the palmas driver. The 11 - compatible : Should be from the list 12 ti,twl6035-pmic 13 ti,twl6036-pmic 14 ti,twl6037-pmic 15 ti,tps65913-pmic 16 ti,tps65914-pmic 17 ti,tps65917-pmic 18 ti,tps659038-pmic [all …]
|
/freebsd/contrib/wpa/wpa_supplicant/doc/docbook/ |
H A D | wpa_cli.sgml | 1 <!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN"> 21 <arg>-p <replaceable>path to ctrl sockets</replaceable></arg> 22 <arg>-g <replaceable>path to global ctrl_interface socket</replaceable></arg> 23 <arg>-i <replaceable>ifname</replaceable></arg> 24 <arg>-hvB</arg> 25 <arg>-a <replaceable>action file</replaceable></arg> 26 <arg>-P <replaceable>pid file</replaceable></arg> 27 <arg>-G <replaceable>ping interval</replaceable></arg> 35 <para>wpa_cli is a text-based frontend program for interacting 47 implement, e.g., one-time-passwords or generic token card [all …]
|
/freebsd/crypto/krb5/doc/html/admin/ |
H A D | auth_indicator.html | 6 <meta charset="utf-8" /> 7 … name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content=… 13 …<script data-url_root="../" id="documentation_options" src="../_static/documentation_options.js"><… 24 <div class="header-wrapper"> 42 <a href="mailto:krb5-bugs@mit.edu?subject=Documentation__Authentication indicators">feedback</a> 47 <div class="content-wrapper"> 55 <section id="authentication-indicators"> 56 <span id="auth-indicator"></span><h1>Authentication indicators<a class="headerlink" href="#authenti… 59 …span class="std std-ref">PKINIT</span></a> or <a class="reference internal" href="otp.html#otp-pre… 64 administrator; there are no pre-set values.</p> [all …]
|
H A D | otp.html | 6 <meta charset="utf-8" /> 7 … name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content=… 9 <title>OTP Preauthentication — MIT Kerberos Documentation</title> 13 …<script data-url_root="../" id="documentation_options" src="../_static/documentation_options.js"><… 24 <div class="header-wrapper"> 42 <a href="mailto:krb5-bugs@mit.edu?subject=Documentation__OTP Preauthentication">feedback</a> 47 <div class="content-wrapper"> 55 <section id="otp-preauthentication"> 56 <span id="otp-preauth"></span><h1>OTP Preauthentication<a class="headerlink" href="#otp-preauthenti… 57 <p>OTP is a preauthentication mechanism for Kerberos 5 which uses One [all …]
|