Lines Matching refs:le
217 uint16_t le = apdu.get_le(); in Process() local
275 if (le == 0xff) { in Process()
348 static std::vector<uint8_t> GenerateBerTLVBytes(uint16_t le) { in GenerateBerTLVBytes() argument
351 if (le < (uint16_t)0x80) { in GenerateBerTLVBytes()
353 } else if (le < (uint16_t)0x100) { in GenerateBerTLVBytes()
359 uint16_t total_len = (uint16_t)(le + 2 + le_len); in GenerateBerTLVBytes()
365 if (le < 0x80) { in GenerateBerTLVBytes()
366 output[i++] = le; in GenerateBerTLVBytes()
367 } else if (le < 0x100) { in GenerateBerTLVBytes()
369 output[i++] = le; in GenerateBerTLVBytes()
372 output[i++] = (le >> 8); in GenerateBerTLVBytes()
373 output[i++] = (le & 0xFF); in GenerateBerTLVBytes()