| /OK3568_Linux_fs/external/security/rk_tee_user/v2/host/openssl/include/openssl/ |
| H A D | des_old.h | 140 # define des_ecb3_encrypt(i,o,k1,k2,k3,e)\ argument 141 DES_ecb3_encrypt((i),(o),&(k1),&(k2),&(k3),(e)) 142 # define des_ede3_cbc_encrypt(i,o,l,k1,k2,k3,iv,e)\ argument 143 DES_ede3_cbc_encrypt((i),(o),(l),&(k1),&(k2),&(k3),(iv),(e)) 144 # define des_ede3_cbcm_encrypt(i,o,l,k1,k2,k3,iv1,iv2,e)\ argument 145 DES_ede3_cbcm_encrypt((i),(o),(l),&(k1),&(k2),&(k3),(iv1),(iv2),(e)) 146 # define des_ede3_cfb64_encrypt(i,o,l,k1,k2,k3,iv,n,e)\ argument 147 DES_ede3_cfb64_encrypt((i),(o),(l),&(k1),&(k2),&(k3),(iv),(n),(e)) 148 # define des_ede3_ofb64_encrypt(i,o,l,k1,k2,k3,iv,n)\ argument 149 DES_ede3_ofb64_encrypt((i),(o),(l),&(k1),&(k2),&(k3),(iv),(n)) [all …]
|
| H A D | des.h | 114 # define DES_ecb2_encrypt(i,o,k1,k2,e) \ argument 115 DES_ecb3_encrypt((i),(o),(k1),(k2),(k1),(e)) 117 # define DES_ede2_cbc_encrypt(i,o,l,k1,k2,iv,e) \ argument 118 DES_ede3_cbc_encrypt((i),(o),(l),(k1),(k2),(k1),(iv),(e)) 120 # define DES_ede2_cfb64_encrypt(i,o,l,k1,k2,iv,n,e) \ argument 121 DES_ede3_cfb64_encrypt((i),(o),(l),(k1),(k2),(k1),(iv),(n),(e)) 123 # define DES_ede2_ofb64_encrypt(i,o,l,k1,k2,iv,n) \ argument 124 DES_ede3_ofb64_encrypt((i),(o),(l),(k1),(k2),(k1),(iv),(n))
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/geojsonvt/6.5.1/include/mapbox/geojsonvt/ |
| H A D | clip.hpp | 13 const double k2; member in mapbox::geojsonvt::detail::clipper 23 if (ak >= k1 && ak <= k2) in operator ()() 109 if (bk > k2) { // ---|-----|--> in clipLine() 111 slice.push_back(intersect<I>(a, b, k2)); in clipLine() 119 } else if (ak >= k2) { in clipLine() 121 slice.push_back(intersect<I>(a, b, k2)); in clipLine() 125 } else if (bk < k2) { // | <--|--- in clipLine() 126 slice.push_back(intersect<I>(a, b, k2)); in clipLine() 137 } else if (bk > k2) { // | ---|--> in clipLine() 138 slice.push_back(intersect<I>(a, b, k2)); in clipLine() [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | btree-128.h | 22 static inline void *btree_lookup128(struct btree_head128 *head, u64 k1, u64 k2) in btree_lookup128() argument 24 u64 key[2] = {k1, k2}; in btree_lookup128() 29 u64 *k1, u64 *k2) in btree_get_prev128() argument 31 u64 key[2] = {*k1, *k2}; in btree_get_prev128() 37 *k2 = key[1]; in btree_get_prev128() 41 static inline int btree_insert128(struct btree_head128 *head, u64 k1, u64 k2, in btree_insert128() argument 44 u64 key[2] = {k1, k2}; in btree_insert128() 49 static inline int btree_update128(struct btree_head128 *head, u64 k1, u64 k2, in btree_update128() argument 52 u64 key[2] = {k1, k2}; in btree_update128() 57 static inline void *btree_remove128(struct btree_head128 *head, u64 k1, u64 k2) in btree_remove128() argument [all …]
|
| /OK3568_Linux_fs/external/security/librkcrypto/test/c_mode/ |
| H A D | sm4_cmac.c | 25 static void rk_derive_mac_key(sm4_context *key, unsigned char *k1, unsigned char *k2) in rk_derive_mac_key() argument 44 rk_left_shift(SM4_BLOCK_SIZE, k1, k2); in rk_derive_mac_key() 48 rk_left_shift(SM4_BLOCK_SIZE, k1, k2); in rk_derive_mac_key() 49 rk_array_xor(SM4_BLOCK_SIZE, k2, Rb, k2); in rk_derive_mac_key() 58 unsigned char k1[SM4_BLOCK_SIZE], k2[SM4_BLOCK_SIZE]; in rk_sm4_genarate_cmac() local 64 memset(k2, 0x00, sizeof(k2)); in rk_sm4_genarate_cmac() 68 rk_derive_mac_key(&ctx, k1, k2); in rk_sm4_genarate_cmac() 87 rk_array_xor(16, Blocktemp, k2, Blocktemp); in rk_sm4_genarate_cmac() 111 rk_array_xor(SM4_BLOCK_SIZE, Blocktemp, k2, Blocktemp); in rk_sm4_genarate_cmac() 126 unsigned char k1[SM4_BLOCK_SIZE], k2[SM4_BLOCK_SIZE]; in rk_sm4_verify_cmac() local [all …]
|
| H A D | aes_cmac.c | 26 static void rk_derive_mac_key(RK_AES_KEY *key, unsigned char *k1, unsigned char *k2) in rk_derive_mac_key() argument 45 rk_left_shift(AES_BLOCK_SIZE, k1, k2); in rk_derive_mac_key() 49 rk_left_shift(AES_BLOCK_SIZE, k1, k2); in rk_derive_mac_key() 50 rk_array_xor(AES_BLOCK_SIZE, k2, Rb, k2); in rk_derive_mac_key() 59 unsigned char k1[AES_BLOCK_SIZE], k2[AES_BLOCK_SIZE]; in rk_aes_genarate_cmac() local 66 memset(k2, 0x00, sizeof(k2)); in rk_aes_genarate_cmac() 72 rk_derive_mac_key(&aes_key, k1, k2); in rk_aes_genarate_cmac() 91 rk_array_xor(16, Blocktemp, k2, Blocktemp); in rk_aes_genarate_cmac() 115 rk_array_xor(AES_BLOCK_SIZE, Blocktemp, k2, Blocktemp); in rk_aes_genarate_cmac() 130 unsigned char k1[AES_BLOCK_SIZE], k2[AES_BLOCK_SIZE]; in rk_aes_verify_cmac() local [all …]
|
| /OK3568_Linux_fs/external/xserver/Xi/ |
| H A D | getfctl.c | 89 xKbdFeedbackState *k2; in CopySwapKbdFeedback() local 91 k2 = (xKbdFeedbackState *) * buf; in CopySwapKbdFeedback() 92 k2->class = KbdFeedbackClass; in CopySwapKbdFeedback() 93 k2->length = sizeof(xKbdFeedbackState); in CopySwapKbdFeedback() 94 k2->id = k->ctrl.id; in CopySwapKbdFeedback() 95 k2->click = k->ctrl.click; in CopySwapKbdFeedback() 96 k2->percent = k->ctrl.bell; in CopySwapKbdFeedback() 97 k2->pitch = k->ctrl.bell_pitch; in CopySwapKbdFeedback() 98 k2->duration = k->ctrl.bell_duration; in CopySwapKbdFeedback() 99 k2->led_mask = k->ctrl.leds; in CopySwapKbdFeedback() [all …]
|
| H A D | listdev.c | 200 xKeyInfoPtr k2; in CopySwapKeyClass() local 202 k2 = (xKeyInfoPtr) * buf; in CopySwapKeyClass() 203 k2->class = KeyClass; in CopySwapKeyClass() 204 k2->length = sizeof(xKeyInfo); in CopySwapKeyClass() 205 k2->min_keycode = k->xkbInfo->desc->min_key_code; in CopySwapKeyClass() 206 k2->max_keycode = k->xkbInfo->desc->max_key_code; in CopySwapKeyClass() 207 k2->num_keys = k2->max_keycode - k2->min_keycode + 1; in CopySwapKeyClass() 209 swaps(&k2->num_keys); in CopySwapKeyClass()
|
| /OK3568_Linux_fs/kernel/arch/arm/crypto/ |
| H A D | sha1-ce-core.S | 18 k2 .req q2 69 vld1.32 {k2-k3}, [ip, :128] 100 add_update p, 1, k2, 9, 10, 11, 8 102 add_update m, 0, k2, 10, 11, 8, 9 103 add_update m, 1, k2, 11, 8, 9, 10 104 add_update m, 0, k2, 8, 9, 10, 11 105 add_update m, 1, k2, 9, 10, 11, 8
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/move/algo/detail/ |
| H A D | insertion_sort.hpp | 109 BirdirectionalRawIterator k2 = j2; in insertion_sort_uninitialized_copy() local 110 if (comp(*first1, *--k2)){ in insertion_sort_uninitialized_copy() 111 ::new((iterator_to_raw_pointer)(j2), boost_move_new_t()) value_type(move(*k2)); in insertion_sort_uninitialized_copy() 113 for (--j2; k2 != first2 && comp(*first1, *--k2); --j2) in insertion_sort_uninitialized_copy() 114 *j2 = move(*k2); in insertion_sort_uninitialized_copy()
|
| /OK3568_Linux_fs/u-boot/arch/arm/cpu/armv8/ |
| H A D | sha1_ce_core.S | 19 k2 .req v2 75 loadrc k2.4s, 0x8f1bbcdc, w6 105 add_update p, od, k2, 9, 10, 11, 8 107 add_update m, ev, k2, 10, 11, 8, 9 108 add_update m, od, k2, 11, 8, 9, 10 109 add_update m, ev, k2, 8, 9, 10, 11 110 add_update m, od, k2, 9, 10, 11, 8
|
| /OK3568_Linux_fs/kernel/arch/arm64/crypto/ |
| H A D | sha1-ce-core.S | 16 k2 .req v2 72 loadrc k2.4s, 0x8f1bbcdc, w6 105 add_update p, od, k2, 9, 10, 11, 8 107 add_update m, ev, k2, 10, 11, 8, 9 108 add_update m, od, k2, 11, 8, 9, 10 109 add_update m, ev, k2, 8, 9, 10, 11 110 add_update m, od, k2, 9, 10, 11, 8
|
| H A D | aes-ce.S | 86 .macro fin_round_Nx, de, k, k2, i0, i1, i2, i3, i4 98 eor \i0\().16b, \i0\().16b, \k2\().16b 100 eor \i1\().16b, \i1\().16b, \k2\().16b 102 eor \i2\().16b, \i2\().16b, \k2\().16b 103 eor \i3\().16b, \i3\().16b, \k2\().16b 105 eor \i4\().16b, \i4\().16b, \k2\().16b
|
| /OK3568_Linux_fs/kernel/arch/sh/kernel/cpu/sh3/ |
| H A D | entry.S | 70 #define k2 r2 macro 194 lds k2, pr ! restore pr 211 ! k2 returns original pr 241 mov.l @r15+, k2 ! original PR 254 lds k2, pr ! restore pr 257 mov k3, k2 ! original SR value 261 and k1, k2 ! Mask original SR value 271 6: or k0, k2 ! Set the IMASK-bits 272 ldc k2, ssr 305 ! k2 trashed
|
| /OK3568_Linux_fs/kernel/fs/xfs/libxfs/ |
| H A D | xfs_alloc_btree.c | 264 union xfs_btree_key *k2) in xfs_bnobt_diff_two_keys() argument 267 be32_to_cpu(k2->alloc.ar_startblock); in xfs_bnobt_diff_two_keys() 274 union xfs_btree_key *k2) in xfs_cntbt_diff_two_keys() argument 279 be32_to_cpu(k2->alloc.ar_blockcount); in xfs_cntbt_diff_two_keys() 284 be32_to_cpu(k2->alloc.ar_startblock); in xfs_cntbt_diff_two_keys() 384 union xfs_btree_key *k2) in xfs_bnobt_keys_inorder() argument 387 be32_to_cpu(k2->alloc.ar_startblock); in xfs_bnobt_keys_inorder() 405 union xfs_btree_key *k2) in xfs_cntbt_keys_inorder() argument 408 be32_to_cpu(k2->alloc.ar_blockcount) || in xfs_cntbt_keys_inorder() 409 (k1->alloc.ar_blockcount == k2->alloc.ar_blockcount && in xfs_cntbt_keys_inorder() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/core/crypto/ |
| H A D | aes-siv.c | 126 const u8 *k1, *k2; in aes_siv_encrypt() local 137 k2 = key + key_len; in aes_siv_encrypt() 158 return aes_ctr_encrypt(k2, key_len, v, crypt_pw, pwlen); in aes_siv_encrypt() 169 const u8 *k1, *k2; in aes_siv_decrypt() local 182 k2 = key + key_len; in aes_siv_decrypt() 197 ret = aes_ctr_encrypt(k2, key_len, iv, out, crypt_len); in aes_siv_decrypt()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/core/crypto/ |
| H A D | aes-siv.c | 125 const u8 *k1, *k2; in aes_siv_encrypt() local 136 k2 = key + key_len; in aes_siv_encrypt() 157 return aes_ctr_encrypt(k2, key_len, v, crypt_pw, pwlen); in aes_siv_encrypt() 168 const u8 *k1, *k2; in aes_siv_decrypt() local 181 k2 = key + key_len; in aes_siv_decrypt() 196 ret = aes_ctr_encrypt(k2, key_len, iv, out, crypt_len); in aes_siv_decrypt()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/core/crypto/ |
| H A D | aes-siv.c | 125 const u8 *k1, *k2; in aes_siv_encrypt() local 136 k2 = key + key_len; in aes_siv_encrypt() 157 return aes_ctr_encrypt(k2, key_len, v, crypt_pw, pwlen); in aes_siv_encrypt() 168 const u8 *k1, *k2; in aes_siv_decrypt() local 181 k2 = key + key_len; in aes_siv_decrypt() 196 ret = aes_ctr_encrypt(k2, key_len, iv, out, crypt_len); in aes_siv_decrypt()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/core/crypto/ |
| H A D | aes-siv.c | 125 const u8 *k1, *k2; in aes_siv_encrypt() local 136 k2 = key + key_len; in aes_siv_encrypt() 157 return aes_ctr_encrypt(k2, key_len, v, crypt_pw, pwlen); in aes_siv_encrypt() 168 const u8 *k1, *k2; in aes_siv_decrypt() local 181 k2 = key + key_len; in aes_siv_decrypt() 196 ret = aes_ctr_encrypt(k2, key_len, iv, out, crypt_len); in aes_siv_decrypt()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/core/crypto/ |
| H A D | aes-siv.c | 125 const u8 *k1, *k2; in aes_siv_encrypt() local 136 k2 = key + key_len; in aes_siv_encrypt() 157 return aes_ctr_encrypt(k2, key_len, v, crypt_pw, pwlen); in aes_siv_encrypt() 168 const u8 *k1, *k2; in aes_siv_decrypt() local 181 k2 = key + key_len; in aes_siv_decrypt() 196 ret = aes_ctr_encrypt(k2, key_len, iv, out, crypt_len); in aes_siv_decrypt()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/core/crypto/ |
| H A D | aes-siv.c | 125 const u8 *k1, *k2; in aes_siv_encrypt() local 136 k2 = key + key_len; in aes_siv_encrypt() 157 return aes_ctr_encrypt(k2, key_len, v, crypt_pw, pwlen); in aes_siv_encrypt() 168 const u8 *k1, *k2; in aes_siv_decrypt() local 181 k2 = key + key_len; in aes_siv_decrypt() 196 ret = aes_ctr_encrypt(k2, key_len, iv, out, crypt_len); in aes_siv_decrypt()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/core/crypto/ |
| H A D | aes-siv.c | 126 const u8 *k1, *k2; in aes_siv_encrypt() local 137 k2 = key + key_len; in aes_siv_encrypt() 158 return aes_ctr_encrypt(k2, key_len, v, crypt_pw, pwlen); in aes_siv_encrypt() 169 const u8 *k1, *k2; in aes_siv_decrypt() local 182 k2 = key + key_len; in aes_siv_decrypt() 197 ret = aes_ctr_encrypt(k2, key_len, iv, out, crypt_len); in aes_siv_decrypt()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/core/crypto/ |
| H A D | aes-siv.c | 125 const u8 *k1, *k2; in aes_siv_encrypt() local 136 k2 = key + key_len; in aes_siv_encrypt() 157 return aes_ctr_encrypt(k2, key_len, v, crypt_pw, pwlen); in aes_siv_encrypt() 168 const u8 *k1, *k2; in aes_siv_decrypt() local 181 k2 = key + key_len; in aes_siv_decrypt() 196 ret = aes_ctr_encrypt(k2, key_len, iv, out, crypt_len); in aes_siv_decrypt()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/core/crypto/ |
| H A D | aes-siv.c | 125 const u8 *k1, *k2; in aes_siv_encrypt() local 136 k2 = key + key_len; in aes_siv_encrypt() 157 return aes_ctr_encrypt(k2, key_len, v, crypt_pw, pwlen); in aes_siv_encrypt() 168 const u8 *k1, *k2; in aes_siv_decrypt() local 181 k2 = key + key_len; in aes_siv_decrypt() 196 ret = aes_ctr_encrypt(k2, key_len, iv, out, crypt_len); in aes_siv_decrypt()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/core/crypto/ |
| H A D | aes-siv.c | 125 const u8 *k1, *k2; in aes_siv_encrypt() local 136 k2 = key + key_len; in aes_siv_encrypt() 157 return aes_ctr_encrypt(k2, key_len, v, crypt_pw, pwlen); in aes_siv_encrypt() 168 const u8 *k1, *k2; in aes_siv_decrypt() local 181 k2 = key + key_len; in aes_siv_decrypt() 196 ret = aes_ctr_encrypt(k2, key_len, iv, out, crypt_len); in aes_siv_decrypt()
|