Lines Matching refs:parser
103 with cryptodev.KATParser(fname, columns) as parser:
104 self.runGCMWithParser(parser, mode)
106 def runGCMWithParser(self, parser, mode): argument
107 for _, lines in next(parser):
167 with cryptodev.KATParser(fname, columns) as parser:
168 self.runCBCWithParser(parser)
170 def runCBCWithParser(self, parser): argument
172 for mode, lines in next(parser):
199 with cryptodev.KATParser(fname, columns) as parser:
200 self.runXTSWithParser(parser, meth)
202 def runXTSWithParser(self, parser, meth): argument
204 for mode, lines in next(parser):
239 with cryptodev.KATCCMParser(fname) as parser:
240 self.runCCMEncryptWithParser(parser)
242 def runCCMEncryptWithParser(self, parser): argument
243 for data in next(parser):
279 with cryptodev.KATCCMParser(fname) as parser:
280 self.runCCMDecryptWithParser(parser)
282 def runCCMDecryptWithParser(self, parser): argument
283 for data in next(parser):
339 with cryptodev.KATParser(fname, columns) as parser:
340 self.runSHAWithParser(parser)
342 def runSHAWithParser(self, parser): argument
343 for hashlength, lines in next(parser):
390 with cryptodev.KATParser(fname, columns) as parser:
391 self.runSHA1HMACWithParser(parser)
393 def runSHA1HMACWithParser(self, parser): argument
394 for hashlength, lines in next(parser):