Home
last modified time | relevance | path

Searched refs:otp (Results 1 – 25 of 28) sorted by relevance

12

/external/epid-sdk/epid/member/tiny/math/unittests/internal/
Donetimepad-test.cc26 OneTimePad otp; in TEST() local
27 EXPECT_EQ(0u, otp.BitsConsumed()); in TEST()
29 EXPECT_NE(0, OneTimePad::Generate(actual.data(), 8, &otp)); in TEST()
37 OneTimePad otp({0x01, 0x03, 0x05, 0x07, 0x09, 0x0a, 0x0c, 0x0e}); in TEST() local
38 EXPECT_EQ(0u, otp.BitsConsumed()); in TEST()
39 EXPECT_EQ(0, OneTimePad::Generate(actual1.data(), 32, &otp)); in TEST()
41 EXPECT_EQ(32u, otp.BitsConsumed()); in TEST()
42 EXPECT_EQ(0, OneTimePad::Generate(actual2.data(), 32, &otp)); in TEST()
44 EXPECT_EQ(64u, otp.BitsConsumed()); in TEST()
52 OneTimePad otp; in TEST() local
[all …]
/external/u-boot/arch/arm/mach-stm32mp/
Dbsec.c58 static u32 bsec_check_error(u32 base, u32 otp) in bsec_check_error() argument
63 bit = 1 << (otp & OTP_LOCK_MASK); in bsec_check_error()
64 bank = ((otp >> OTP_LOCK_BANK_SHIFT) & OTP_LOCK_MASK) * sizeof(u32); in bsec_check_error()
80 static bool bsec_read_lock(u32 address, u32 otp) in bsec_read_lock() argument
85 bit = 1 << (otp & OTP_LOCK_MASK); in bsec_read_lock()
86 bank = ((otp >> OTP_LOCK_BANK_SHIFT) & OTP_LOCK_MASK) * sizeof(u32); in bsec_read_lock()
97 static bool bsec_read_SR_lock(u32 base, u32 otp) in bsec_read_SR_lock() argument
99 return bsec_read_lock(base + BSEC_SRLOCK_OFF, otp); in bsec_read_SR_lock()
108 static bool bsec_read_SP_lock(u32 base, u32 otp) in bsec_read_SP_lock() argument
110 return bsec_read_lock(base + BSEC_SPLOCK_OFF, otp); in bsec_read_SP_lock()
[all …]
Dcpu.c293 u32 otp[2]; in setup_mac_address() local
308 otp, sizeof(otp)); in setup_mac_address()
313 enetaddr[i] = ((uint8_t *)&otp)[i]; in setup_mac_address()
332 u32 otp[3] = {0, 0, 0 }; in setup_serial_number() local
346 otp, sizeof(otp)); in setup_serial_number()
350 sprintf(serial_string, "%08x%08x%08x", otp[0], otp[1], otp[2]); in setup_serial_number()
/external/epid-sdk/epid/member/tiny/math/unittests/
Defq-test.cc247 OneTimePad otp({ in TEST() local
261 EXPECT_TRUE(EFqRand(&actual, OneTimePad::Generate, &otp)); in TEST()
263 EXPECT_EQ(384u, otp.BitsConsumed()); in TEST()
268 OneTimePad otp({ in TEST() local
282 EXPECT_TRUE(EFqRand(&actual, OneTimePad::Generate, &otp)); in TEST()
284 EXPECT_EQ(384u, otp.BitsConsumed()); in TEST()
290 OneTimePad otp({ in TEST() local
316 EXPECT_TRUE(EFqRand(&actual, OneTimePad::Generate, &otp)); in TEST()
318 EXPECT_EQ(1536u, otp.BitsConsumed()); in TEST()
631 OneTimePad otp({ in TEST() local
[all …]
Dfp-test.cc173 OneTimePad otp(64); in TEST() local
175 EXPECT_TRUE(FpRand(&actual, OneTimePad::Generate, &otp)); in TEST()
176 EXPECT_EQ(384u, otp.BitsConsumed()); in TEST()
180 OneTimePad otp({// slen bits in TEST() local
190 EXPECT_TRUE(FpRand(&actual, OneTimePad::Generate, &otp)); in TEST()
198 OneTimePad otp(64); in TEST() local
200 EXPECT_TRUE(FpRandNonzero(&actual, OneTimePad::Generate, &otp)); in TEST()
201 EXPECT_EQ(384u, otp.BitsConsumed()); in TEST()
205 OneTimePad otp({// slen bits in TEST() local
215 EXPECT_TRUE(FpRandNonzero(&actual, OneTimePad::Generate, &otp)); in TEST()
Dfq-test.cc287 OneTimePad otp(64); in TEST() local
289 EXPECT_TRUE(FqRand(&actual, OneTimePad::Generate, &otp)); in TEST()
290 EXPECT_EQ(384u, otp.BitsConsumed()); in TEST()
294 OneTimePad otp({// slen bits in TEST() local
304 EXPECT_TRUE(FqRand(&actual, OneTimePad::Generate, &otp)); in TEST()
/external/wpa_supplicant_8/src/eap_peer/
Deap_otp.c35 int otp; in eap_otp_process() local
47 otp = 1; in eap_otp_process()
50 otp = 0; in eap_otp_process()
74 if (otp) { in eap_otp_process()
Deap_gtc.c52 int otp; in eap_gtc_process() local
79 otp = 1; in eap_gtc_process()
82 otp = 0; in eap_gtc_process()
118 if (otp) { in eap_gtc_process()
Deap_config.h632 u8 *otp; member
Deap.c2839 return config->otp; in eap_get_config_otp()
2856 os_memset(config->otp, 0, config->otp_len); in eap_clear_config_otp()
2857 os_free(config->otp); in eap_clear_config_otp()
2858 config->otp = NULL; in eap_clear_config_otp()
/external/tcpdump/
Dprint-llc.c408 const struct oui_tok *otp; in oui_to_struct_tok() local
410 for (otp = &oui_to_tok[0]; otp->tok != NULL; otp++) { in oui_to_struct_tok()
411 if (otp->oui == orgcode) { in oui_to_struct_tok()
412 tok = otp->tok; in oui_to_struct_tok()
/external/wpa_supplicant_8/wpa_supplicant/doc/docbook/
Dwpa_cli.sgml79 <emphasis>otp</emphasis> commands. &lt;id&gt; needs to be copied from
81 <emphasis>otp</emphasis> commands can be used regardless of whether
85 with <emphasis>otp</emphasis> are used only once and then forgotten,
101 > otp 2 9876
304 <term>otp &lt;network id&gt; &lt;password&gt;</term>
/external/wpa_supplicant_8/wpa_supplicant/
Dtodo.txt32 - consider redesigning pending EAP requests (identity/password/otp from
DREADME725 and 'otp' commands. <id> needs to be copied from the the matching
726 request. 'password' and 'otp' commands can be used regardless of
730 with 'otp' are used only once and then forgotten, i.e., wpa_supplicant
743 > otp 2 9876
764 otp <network id> <password> = configure one-time-password for an SSID
DChangeLog1970 identity/password/otp
1971 * fixed ctrl_iface requests for identity/password/otp in Phase 2 of
2217 wpa_cli); this 'otp' command works otherwise like 'password' command,
2224 * improved user data (identity/password/otp) requests through
Dwpa_supplicant.c6916 bin_clear_free(eap->otp, eap->otp_len); in wpa_supplicant_ctrl_rsp_handle()
6917 eap->otp = (u8 *) os_strdup(value); in wpa_supplicant_ctrl_rsp_handle()
Dconfig.c2558 os_free(eap->otp); in eap_peer_config_free()
/external/u-boot/arch/arm/dts/
Drk322x.dtsi710 otp_gpio: otp-gpio {
714 otp_out: otp-out {
Drk3368.dtsi1034 otp_gpio: otp-gpio {
1038 otp_out: otp-out {
Drk3399.dtsi2027 otp_gpio: otp-gpio {
2031 otp_out: otp-out {
Drk3288.dtsi1456 otp_out: otp-out {
/external/python/cpython3/Lib/test/
Dmime.types625 application/vnd.oasis.opendocument.presentation-template otp
/external/honggfuzz/examples/apache-httpd/corpus_http1/
D5f947ff0712c73d322ca97141c0281b9.000127a5.honggfuzz.cov307 F�:�]A.v0�شi��� �9E_���U�uS[��ᶹ+�'���P������|1� (�o<�h��D1���~��{x��1m�otp/5��`�k@g(���…
/external/honggfuzz/examples/apache-httpd/corpus_http2/
Db54abfa1e6969367f6fe841dda187a83.000127a5.honggfuzz.cov307 F�:�]A.v0�شi��� �9E_���U�uS[��ᶹ+�'���P������|1� (�o<�h��D1���~��{x��1m�otp/5��`�k@g(���…
D5f947ff0712c73d322ca97141c0281b9.000127a5.honggfuzz.cov307 F�:�]A.v0�شi��� �9E_���U�uS[��ᶹ+�'���P������|1� (�o<�h��D1���~��{x��1m�otp/5��`�k@g(���…

12