/freebsd/crypto/krb5/src/lib/crypto/builtin/enc_provider/ |
H A D | des3.c | 36 mit_des3_key_schedule *schedule) in validate_and_schedule() argument 46 *schedule)) { in validate_and_schedule() 59 mit_des3_key_schedule schedule; in k5_des3_encrypt() local 62 err = validate_and_schedule(key, ivec, data, num_data, &schedule); in k5_des3_encrypt() 68 schedule[0], schedule[1], schedule[2], in k5_des3_encrypt() 72 zap(schedule, sizeof(schedule)); in k5_des3_encrypt() 81 mit_des3_key_schedule schedule; in k5_des3_decrypt() local 84 err = validate_and_schedule(key, ivec, data, num_data, &schedule); in k5_des3_decrypt() 90 schedule[0], schedule[1], schedule[2], in k5_des3_decrypt() 94 zap(schedule, sizeof(schedule)); in k5_des3_decrypt()
|
/freebsd/crypto/heimdal/doc/doxyout/hcrypto/man/man3/ |
H A D | hcrypto_des.3 | 86 \fIks\fP key schedule to use 106 \fIks\fP key schedule to use 128 \fIks\fP key schedule to use 163 \fIks1\fP key schedule to use 165 \fIks2\fP key schedule to use 167 \fIks3\fP key schedule to use 183 \fIks\fP key schedule to use 203 \fIks1\fP key schedule to use 205 \fIks2\fP key schedule to use 207 \fIks3\fP key schedule to use [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Support/BLAKE3/ |
H A D | blake3_portable.c | 21 // Select the message schedule based on the round. in round_fn() 22 const uint8_t *schedule = MSG_SCHEDULE[round]; in round_fn() local 25 g(state, 0, 4, 8, 12, msg[schedule[0]], msg[schedule[1]]); in round_fn() 26 g(state, 1, 5, 9, 13, msg[schedule[2]], msg[schedule[3]]); in round_fn() 27 g(state, 2, 6, 10, 14, msg[schedule[4]], msg[schedule[5]]); in round_fn() 28 g(state, 3, 7, 11, 15, msg[schedule[6]], msg[schedule[7]]); in round_fn() 31 g(state, 0, 5, 10, 15, msg[schedule[8]], msg[schedule[9]]); in round_fn() 32 g(state, 1, 6, 11, 12, msg[schedule[10]], msg[schedule[11]]); in round_fn() 33 g(state, 2, 7, 8, 13, msg[schedule[12]], msg[schedule[13]]); in round_fn() 34 g(state, 3, 4, 9, 14, msg[schedule[14]], msg[schedule[15]]); in round_fn()
|
/freebsd/sys/contrib/openzfs/module/icp/algs/blake3/ |
H A D | blake3_generic.c | 50 /* Select the message schedule based on the round. */ in round_fn() 51 const uint8_t *schedule = BLAKE3_MSG_SCHEDULE[round]; in round_fn() local 54 g(state, 0, 4, 8, 12, msg[schedule[0]], msg[schedule[1]]); in round_fn() 55 g(state, 1, 5, 9, 13, msg[schedule[2]], msg[schedule[3]]); in round_fn() 56 g(state, 2, 6, 10, 14, msg[schedule[4]], msg[schedule[5]]); in round_fn() 57 g(state, 3, 7, 11, 15, msg[schedule[6]], msg[schedule[7]]); in round_fn() 60 g(state, 0, 5, 10, 15, msg[schedule[8]], msg[schedule[9]]); in round_fn() 61 g(state, 1, 6, 11, 12, msg[schedule[10]], msg[schedule[11]]); in round_fn() 62 g(state, 2, 7, 8, 13, msg[schedule[12]], msg[schedule[13]]); in round_fn() 63 g(state, 3, 4, 9, 14, msg[schedule[14]], msg[schedule[15]]); in round_fn()
|
/freebsd/crypto/krb5/src/lib/crypto/builtin/des/doc/ |
H A D | libdes.doc | 37 des_set_key(k,schedule) 39 Key_schedule schedule; 41 Calculates a key schedule from (all) eight bytes of the input key, and 47 The key schedule is then used in subsequent encryption/decryption 60 ecb_encrypt(input,output,schedule,encrypt) 64 Key_schedule schedule; /* addr of key schedule */ 84 cbc_encrypt(input,output,length,schedule,ivec,encrypt) 89 Key_schedule schedule; /* addr of precomputed schedule */ 98 key schedule and initialization vector. If the length is not an integral 104 (ciphertext) into the OUTPUT (cleartext) using the provided key schedule [all …]
|
/freebsd/crypto/openssl/include/openssl/ |
H A D | des.h | 83 long length, DES_key_schedule *schedule, 90 long length, DES_key_schedule *schedule, DES_cblock *ivec, 94 long length, DES_key_schedule *schedule, DES_cblock *ivec, 98 long length, DES_key_schedule *schedule, DES_cblock *ivec, 102 long length, DES_key_schedule *schedule, DES_cblock *ivec, 167 long length, DES_key_schedule *schedule, DES_cblock *ivec); 170 long length, DES_key_schedule *schedule, 186 int DES_set_key(const_DES_cblock *key, DES_key_schedule *schedule); 188 int DES_key_sched(const_DES_cblock *key, DES_key_schedule *schedule); 190 int DES_set_key_checked(const_DES_cblock *key, DES_key_schedule *schedule); [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | GCNIterativeScheduler.cpp | 94 OS << "Region to schedule "; in printRegions() 180 void schedule() { in schedule() function in GCNIterativeScheduler::OverrideLegacyStrategy 184 Sch.BaseClass::schedule(); in schedule() 196 // so just use SUnits as the restoring schedule in restoreOrder() 257 // returns max pressure for a tentative schedule 260 Range &&Schedule) const { in getSchedulePressure() 265 // schedule doesn't include it in getSchedulePressure() 272 for (auto I = Schedule.end(), B = Schedule.begin(); I != B;) { in getSchedulePressure() 291 void GCNIterativeScheduler::schedule() { // overridden in schedule() function in GCNIterativeScheduler 313 // Detach schedule from SUnits and interleave it with debug values. [all …]
|
H A D | GCNIterativeScheduler.h | 11 /// approach to find a best schedule for GCN architecture. It basically makes 43 void schedule() override; 56 std::vector<MachineInstr *> Schedule; member 62 // `const` fields are to emphasize they shouldn't change for any schedule. 69 // best schedule for the region so far (not scheduled yet) 85 Range &&Schedule) const; 95 ScheduleRef Schedule, 100 std::vector<MachineInstr*> detachSchedule(ScheduleRef Schedule) const; 105 void scheduleRegion(Region &R, Range &&Schedule,
|
H A D | GCNILPSched.cpp | 50 std::vector<const SUnit*> schedule(ArrayRef<const SUnit*> TopRoots, 84 // Lower priority means schedule further down. For bottom-up scheduling, lower 97 // If SU does not have a register def, schedule it close to its uses in getNodePriority() 192 // Try schedule def + use closer when Sethi-Ullman numbers are the same. in pickBest() 201 // Then schedule t2 = op first. in pickBest() 288 GCNILPScheduler::schedule(ArrayRef<const SUnit*> BotRoots, in schedule() function in GCNILPScheduler 310 std::vector<const SUnit*> Schedule; in schedule() local 311 Schedule.reserve(SUnits.size()); in schedule() 340 Schedule.push_back(SU); in schedule() 343 assert(SUnits.size() == Schedule.size()); in schedule() [all …]
|
/freebsd/contrib/llvm-project/openmp/runtime/src/ |
H A D | kmp_dispatch.cpp | 72 static inline int __kmp_get_monotonicity(ident_t *loc, enum sched_type schedule, in __kmp_get_monotonicity() argument 75 // Nonmonotonic as default for dynamic schedule when no modifier is specified in __kmp_get_monotonicity() 85 else if (SCHEDULE_HAS_NONMONOTONIC(schedule)) in __kmp_get_monotonicity() 87 else if (SCHEDULE_HAS_MONOTONIC(schedule)) in __kmp_get_monotonicity() 174 // type of schedule,chunk. The loop description is found in lb (lower bound), 186 enum sched_type schedule, T lb, T ub, in __kmp_dispatch_init_algorithm() argument 210 "schedule:%%d chunk:%%%s nproc:%%%s tid:%%%s\n", in __kmp_dispatch_init_algorithm() 214 KD_TRACE(10, (buff, gtid, pr, lb, ub, st, schedule, chunk, nproc, tid)); in __kmp_dispatch_init_algorithm() 237 monotonicity = __kmp_get_monotonicity(loc, schedule, use_hier); in __kmp_dispatch_init_algorithm() 238 schedule = SCHEDULE_WITHOUT_MODIFIERS(schedule); in __kmp_dispatch_init_algorithm() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | ModuloSchedule.h | 1 //===- ModuloSchedule.h - Software pipeline schedule expansion ------------===// 12 // There are multiple methods for analyzing a loop and creating a schedule. 14 // MachinePipeliner). The details of how a schedule is arrived at are irrelevant 15 // for the task of actually rewriting a loop to adhere to the schedule, which 18 // A schedule is, for every instruction in a block, a Cycle and a Stage. Note 37 // In the schedule for this unrolled sequence we would say that I0 was scheduled 52 // an arbitrary schedule containing loop-carried values are complex. 78 /// Represents a schedule for a single-block loop. For every instruction we 86 /// order; the total order within cycles has been decided by the schedule 96 /// The number of stages in this schedule (Max(Stage) + 1). [all …]
|
H A D | MachinePipeliner.h | 37 // 3) Attempt to schedule the nodes in the specified order using the MII. 118 /// and attempts to schedule the instructions using the SMS algorithm. 121 /// The minimum initiation interval between iterations for this schedule. 123 /// The maximum initiation interval between iterations for this schedule. 125 /// Set to true if a valid pipelined schedule is found for the loop. 157 /// Instructions to change when emitting the final schedule. 220 void schedule() override; 275 void applyInstrChange(MachineInstr *MI, SMSchedule &Schedule); 313 bool schedulePipeline(SMSchedule &Schedule); 320 /// Set the Minimum Initiation Interval for this schedule attempt. [all …]
|
/freebsd/crypto/openssl/doc/man3/ |
H A D | DES_random_key.pod | 25 int DES_set_key(const_DES_cblock *key, DES_key_schedule *schedule); 26 int DES_key_sched(const_DES_cblock *key, DES_key_schedule *schedule); 27 int DES_set_key_checked(const_DES_cblock *key, DES_key_schedule *schedule); 28 void DES_set_key_unchecked(const_DES_cblock *key, DES_key_schedule *schedule); 42 long length, DES_key_schedule *schedule, DES_cblock *ivec, 45 int numbits, long length, DES_key_schedule *schedule, 48 int numbits, long length, DES_key_schedule *schedule, 51 long length, DES_key_schedule *schedule, DES_cblock *ivec, 54 long length, DES_key_schedule *schedule, DES_cblock *ivec, 57 long length, DES_key_schedule *schedule, DES_cblock *ivec, [all …]
|
/freebsd/crypto/heimdal/lib/krb5/ |
H A D | salt-des.c | 83 DES_key_schedule schedule; in krb5_DES_AFS3_Transarc_string_to_key() local 102 DES_set_key_unchecked (&temp_key, &schedule); in krb5_DES_AFS3_Transarc_string_to_key() 103 DES_cbc_cksum ((void*)password, &ivec, passlen, &schedule, &ivec); in krb5_DES_AFS3_Transarc_string_to_key() 107 DES_set_key_unchecked (&temp_key, &schedule); in krb5_DES_AFS3_Transarc_string_to_key() 108 DES_cbc_cksum ((void*)password, key, passlen, &schedule, &ivec); in krb5_DES_AFS3_Transarc_string_to_key() 109 memset(&schedule, 0, sizeof(schedule)); in krb5_DES_AFS3_Transarc_string_to_key() 140 DES_key_schedule schedule; in DES_string_to_key_int() local 162 DES_set_key_unchecked(key, &schedule); in DES_string_to_key_int() 163 DES_cbc_cksum((void*)data, key, length, &schedule, key); in DES_string_to_key_int() 164 memset(&schedule, 0, sizeof(schedule)); in DES_string_to_key_int()
|
/freebsd/secure/lib/libcrypto/man/man3/ |
H A D | DES_random_key.3 | 162 \& int DES_set_key(const_DES_cblock *key, DES_key_schedule *schedule); 163 \& int DES_key_sched(const_DES_cblock *key, DES_key_schedule *schedule); 164 \& int DES_set_key_checked(const_DES_cblock *key, DES_key_schedule *schedule); 165 \& void DES_set_key_unchecked(const_DES_cblock *key, DES_key_schedule *schedule); 179 \& long length, DES_key_schedule *schedule, DES_cblock *ivec, 182 \& int numbits, long length, DES_key_schedule *schedule, 185 \& int numbits, long length, DES_key_schedule *schedule, 188 \& long length, DES_key_schedule *schedule, DES_cblock *ivec, 191 \& long length, DES_key_schedule *schedule, DES_cblock *ivec, 194 \& long length, DES_key_schedule *schedule, DES_cblock *ivec, [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | PostRASchedulerList.cpp | 10 // The basic approach uses a priority queue of available nodes to schedule. 12 // order), checked for legality to schedule, and emitted if legal. 14 // Nodes may not be legal to schedule either due to structural hazards (e.g. 63 // If DebugDiv > 0 then only schedule MBB with (ID % DebugDiv) == DebugMod 130 /// The schedule. Null SUnit*'s represent noop instructions. 168 /// Schedule - Schedule the instruction range using list scheduling. 170 void schedule() override; 240 /// Print the schedule before exiting the region. 243 dbgs() << "*** Final schedule ***\n"; in exitRegion() 315 // If DebugDiv > 0 then only schedule MBB with (ID % DebugDiv) == DebugMod in runOnMachineFunction() [all …]
|
H A D | ModuloSchedule.cpp | 1 //===- ModuloSchedule.cpp - Software pipeline schedule expansion ----------===// 72 BB = Schedule.getLoop()->getTopBlock(); in expand() 79 for (MachineInstr *MI : Schedule.getInstructions()) { in expand() 80 int DefStage = Schedule.getStage(MI); in expand() 87 int UseStage = Schedule.getStage(UseMI); in expand() 113 unsigned MaxStageCount = Schedule.getNumStages() - 1; in generatePipelinedLoop() 137 for (MachineInstr *CI : Schedule.getInstructions()) { in generatePipelinedLoop() 140 unsigned StageNum = Schedule.getStage(CI); in generatePipelinedLoop() 222 if (Schedule.getStage(&*BBI) == StageNum) { in generateProlog() 300 if ((unsigned)Schedule.getStage(In) == StageNum) { in generateEpilog() [all …]
|
H A D | MachinePipeliner.cpp | 24 // where an instruction may be inserted in the pipelined schedule. 114 STATISTIC(NumFailNoSchedule, "Pipeliner abort due to no schedule found"); 174 "with the generated schedule for feeding into the " 175 "-modulo-schedule-test pass")); 280 /// loops, calculates the minimum initiation interval, and attempts to schedule 472 /// 3. Attempt to Schedule the loop. 494 SMS.schedule(); in swingModuloScheduler() 563 /// We override the schedule function in ScheduleDAGInstrs to implement the 565 void SwingSchedulerDAG::schedule() { in schedule() function in SwingSchedulerDAG 595 // Can't schedule a loop without a valid MII. in schedule() [all …]
|
/freebsd/crypto/krb5/src/lib/crypto/builtin/des/ |
H A D | key_sched.c | 29 * This routine computes the DES key schedule given a key. The 32 * schedule. 39 * In case the user wants to cache the computed key schedule, it is 41 * over zeroing both the key schedule and the key. 52 mit_des_key_sched(mit_des_cblock k, mit_des_key_schedule schedule) in mit_des_key_sched() argument 54 mit_des_make_key_sched(k,schedule); in mit_des_key_sched()
|
H A D | f_cbc.c | 47 * The key schedule is passed as an arg, as well as the cleartext or 65 unsigned long length, const mit_des_key_schedule schedule, in des_cbc_encrypt() argument 76 kp = (const unsigned DES_INT32 *)schedule; in des_cbc_encrypt() 147 unsigned long length, const mit_des_key_schedule schedule, in des_cbc_decrypt() argument 160 kp = (const unsigned DES_INT32 *)schedule; in des_cbc_decrypt() 245 unsigned long length, const mit_des_key_schedule schedule, in mit_des_cbc_encrypt() argument 252 des_cbc_encrypt(in, out, length, schedule, ivec); in mit_des_cbc_encrypt() 254 des_cbc_decrypt(in, out, length, schedule, ivec); in mit_des_cbc_encrypt()
|
H A D | f_aead.c | 35 const mit_des_key_schedule schedule, in krb5int_des_cbc_encrypt() argument 45 kp = (const unsigned DES_INT32 *)schedule; in krb5int_des_cbc_encrypt() 74 const mit_des_key_schedule schedule, in krb5int_des_cbc_decrypt() argument 86 kp = (const unsigned DES_INT32 *)schedule; in krb5int_des_cbc_decrypt() 129 const mit_des_key_schedule schedule, mit_des_cblock ivec, in krb5int_des_cbc_mac() argument 139 kp = (const unsigned DES_INT32 *)schedule; in krb5int_des_cbc_mac()
|
/freebsd/crypto/heimdal/lib/gssapi/krb5/ |
H A D | verify_mic.c | 53 DES_key_schedule schedule; in verify_mic_des() local 88 DES_set_key_unchecked (&deskey, &schedule); in verify_mic_des() 90 &schedule, &zero); in verify_mic_des() 93 memset (&schedule, 0, sizeof(schedule)); in verify_mic_des() 102 memset (&schedule, 0, sizeof(schedule)); in verify_mic_des() 116 memset (&schedule, 0, sizeof(schedule)); in verify_mic_des()
|
/freebsd/sys/crypto/openssl/arm/ |
H A D | bsaes-armv7.S | 45 @ results keep in mind key schedule conversion overhead (see 1104 @ allocate the key schedule on the stack 1106 add r12, #96 @ sifze of bit-slices key schedule 1108 @ populate the key schedule 1122 @ populate the key schedule 1126 add r12, r3, #248 @ pass key schedule 1331 .Lcbc_dec_bzero:@ wipe key schedule [if any] 1360 @ allocate the key schedule on the stack 1362 add r12, #96 @ size of bit-sliced key schedule 1364 @ populate the key schedule [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | ScheduleDAGVLIW.cpp | 10 // The basic approach uses a priority queue of available nodes to schedule. 12 // order), checked for legality to schedule, and emitted if legal. 14 // Nodes may not be legal to schedule either due to structural hazards (e.g. 78 void Schedule() override; 88 /// Schedule - Schedule the DAG using list scheduling. 89 void ScheduleDAGVLIW::Schedule() { in Schedule() function in ScheduleDAGVLIW 143 /// scheduleNodeTopDown - Add the node to the schedule. Decrement the pending 177 // priority. If it is not ready put it back. Schedule the node. in listScheduleTopDown() 230 // If we found a node to schedule, d in listScheduleTopDown() [all...] |
/freebsd/crypto/openssl/crypto/des/ |
H A D | xcbc_enc.c | 21 long length, DES_key_schedule *schedule, in DES_xcbc_encrypt() argument 52 DES_encrypt1(tin, schedule, DES_ENCRYPT); in DES_xcbc_encrypt() 64 DES_encrypt1(tin, schedule, DES_ENCRYPT); in DES_xcbc_encrypt() 81 DES_encrypt1(tin, schedule, DES_DECRYPT); in DES_xcbc_encrypt() 94 DES_encrypt1(tin, schedule, DES_DECRYPT); in DES_xcbc_encrypt()
|