blob: d5d48fe326d23e729410a8e04ffeebaa5f9bf76a [file] [log] [blame]
Janos Follathdf8239b2022-11-02 14:40:58 +00001"""Framework classes for generation of bignum mod_raw test cases."""
2# Copyright The Mbed TLS Contributors
3# SPDX-License-Identifier: Apache-2.0
4#
5# Licensed under the Apache License, Version 2.0 (the "License"); you may
6# not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
16
17import random
18
19from abc import ABCMeta
20from typing import Dict, Iterator, List, Tuple
21
22from . import test_data_generation
23from . import bignum_common
24
25class BignumCoreTarget(test_data_generation.BaseTarget, metaclass=ABCMeta):
26 #pylint: disable=abstract-method
27 """Target for bignum mod_raw test case generation."""
28 target_basename = 'test_suite_bignum_mod_raw.generated'
29
Janos Follath1be322a2022-11-02 14:46:23 +000030# BEGIN MERGE SLOT 1
31
32# END MERGE SLOT 1
33
34# BEGIN MERGE SLOT 2
35
36# END MERGE SLOT 2
37
38# BEGIN MERGE SLOT 3
39
40# END MERGE SLOT 3
41
42# BEGIN MERGE SLOT 4
43
44# END MERGE SLOT 4
45
46# BEGIN MERGE SLOT 5
47
48# END MERGE SLOT 5
49
50# BEGIN MERGE SLOT 6
51
52# END MERGE SLOT 6
53
54# BEGIN MERGE SLOT 7
55
56# END MERGE SLOT 7
57
58# BEGIN MERGE SLOT 8
59
60# END MERGE SLOT 8
61
62# BEGIN MERGE SLOT 9
63
64# END MERGE SLOT 9
65
66# BEGIN MERGE SLOT 10
67
68# END MERGE SLOT 10
69